mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 02:50:53 +07:00
pcmcia: drop owner assignment from platform_drivers
A platform_driver does not need to set an owner, it will be populated by the driver core. Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
This commit is contained in:
parent
e27a5130ab
commit
735fc3ec34
@ -401,7 +401,6 @@ static int at91_cf_resume(struct platform_device *pdev)
|
|||||||
static struct platform_driver at91_cf_driver = {
|
static struct platform_driver at91_cf_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "at91_cf",
|
.name = "at91_cf",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = of_match_ptr(at91_cf_dt_ids),
|
.of_match_table = of_match_ptr(at91_cf_dt_ids),
|
||||||
},
|
},
|
||||||
.probe = at91_cf_probe,
|
.probe = at91_cf_probe,
|
||||||
|
@ -304,7 +304,6 @@ static int bfin_cf_remove(struct platform_device *pdev)
|
|||||||
static struct platform_driver bfin_cf_driver = {
|
static struct platform_driver bfin_cf_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = driver_name,
|
.name = driver_name,
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
.probe = bfin_cf_probe,
|
.probe = bfin_cf_probe,
|
||||||
.remove = bfin_cf_remove,
|
.remove = bfin_cf_remove,
|
||||||
|
@ -574,7 +574,6 @@ static int db1x_pcmcia_socket_remove(struct platform_device *pdev)
|
|||||||
static struct platform_driver db1x_pcmcia_socket_driver = {
|
static struct platform_driver db1x_pcmcia_socket_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "db1xxx_pcmcia",
|
.name = "db1xxx_pcmcia",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
.probe = db1x_pcmcia_socket_probe,
|
.probe = db1x_pcmcia_socket_probe,
|
||||||
.remove = db1x_pcmcia_socket_remove,
|
.remove = db1x_pcmcia_socket_remove,
|
||||||
|
@ -360,7 +360,6 @@ MODULE_DEVICE_TABLE(of, electra_cf_match);
|
|||||||
static struct platform_driver electra_cf_driver = {
|
static struct platform_driver electra_cf_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = driver_name,
|
.name = driver_name,
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.of_match_table = electra_cf_match,
|
.of_match_table = electra_cf_match,
|
||||||
},
|
},
|
||||||
.probe = electra_cf_probe,
|
.probe = electra_cf_probe,
|
||||||
|
@ -1233,7 +1233,6 @@ static struct pccard_operations pcic_operations = {
|
|||||||
static struct platform_driver i82365_driver = {
|
static struct platform_driver i82365_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "i82365",
|
.name = "i82365",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -687,7 +687,6 @@ static struct pccard_operations pcc_operations = {
|
|||||||
static struct platform_driver pcc_driver = {
|
static struct platform_driver pcc_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "cfc",
|
.name = "cfc",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -664,7 +664,6 @@ static struct pccard_operations pcc_operations = {
|
|||||||
static struct platform_driver pcc_driver = {
|
static struct platform_driver pcc_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "pcc",
|
.name = "pcc",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -334,7 +334,6 @@ static int __exit omap_cf_remove(struct platform_device *pdev)
|
|||||||
static struct platform_driver omap_cf_driver = {
|
static struct platform_driver omap_cf_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = (char *) driver_name,
|
.name = (char *) driver_name,
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
.remove = __exit_p(omap_cf_remove),
|
.remove = __exit_p(omap_cf_remove),
|
||||||
};
|
};
|
||||||
|
@ -368,7 +368,6 @@ static struct platform_driver pxa2xx_pcmcia_driver = {
|
|||||||
.remove = pxa2xx_drv_pcmcia_remove,
|
.remove = pxa2xx_drv_pcmcia_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "pxa2xx-pcmcia",
|
.name = "pxa2xx-pcmcia",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.pm = &pxa2xx_drv_pcmcia_pm_ops,
|
.pm = &pxa2xx_drv_pcmcia_pm_ops,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
@ -172,7 +172,6 @@ static struct platform_driver viper_pcmcia_driver = {
|
|||||||
.remove = viper_pcmcia_remove,
|
.remove = viper_pcmcia_remove,
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "arcom-pcmcia",
|
.name = "arcom-pcmcia",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
.id_table = viper_pcmcia_id_table,
|
.id_table = viper_pcmcia_id_table,
|
||||||
};
|
};
|
||||||
|
@ -100,7 +100,6 @@ static int sa11x0_drv_pcmcia_remove(struct platform_device *dev)
|
|||||||
static struct platform_driver sa11x0_pcmcia_driver = {
|
static struct platform_driver sa11x0_pcmcia_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "sa11x0-pcmcia",
|
.name = "sa11x0-pcmcia",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
.probe = sa11x0_drv_pcmcia_probe,
|
.probe = sa11x0_drv_pcmcia_probe,
|
||||||
.remove = sa11x0_drv_pcmcia_remove,
|
.remove = sa11x0_drv_pcmcia_remove,
|
||||||
|
@ -349,7 +349,6 @@ static int __init get_tcic_id(void)
|
|||||||
static struct platform_driver tcic_driver = {
|
static struct platform_driver tcic_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "tcic-pcmcia",
|
.name = "tcic-pcmcia",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -709,7 +709,6 @@ __setup("vrc4171_card=", vrc4171_card_setup);
|
|||||||
static struct platform_driver vrc4171_card_driver = {
|
static struct platform_driver vrc4171_card_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = vrc4171_card_name,
|
.name = vrc4171_card_name,
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -314,7 +314,6 @@ static int xxs1500_pcmcia_remove(struct platform_device *pdev)
|
|||||||
static struct platform_driver xxs1500_pcmcia_socket_driver = {
|
static struct platform_driver xxs1500_pcmcia_socket_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
.name = "xxs1500_pcmcia",
|
.name = "xxs1500_pcmcia",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
},
|
},
|
||||||
.probe = xxs1500_pcmcia_probe,
|
.probe = xxs1500_pcmcia_probe,
|
||||||
.remove = xxs1500_pcmcia_remove,
|
.remove = xxs1500_pcmcia_remove,
|
||||||
|
Loading…
Reference in New Issue
Block a user