net: can: 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
c084b7bbd3
commit
0e90632426
|
@ -1428,7 +1428,6 @@ static struct platform_driver at91_can_driver = {
|
|||
.remove = at91_can_remove,
|
||||
.driver = {
|
||||
.name = KBUILD_MODNAME,
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = of_match_ptr(at91_can_dt_ids),
|
||||
},
|
||||
.id_table = at91_can_id_table,
|
||||
|
|
|
@ -680,7 +680,6 @@ static struct platform_driver bfin_can_driver = {
|
|||
.resume = bfin_can_resume,
|
||||
.driver = {
|
||||
.name = DRV_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
@ -1367,7 +1367,6 @@ static SIMPLE_DEV_PM_OPS(flexcan_pm_ops, flexcan_suspend, flexcan_resume);
|
|||
static struct platform_driver flexcan_driver = {
|
||||
.driver = {
|
||||
.name = DRV_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &flexcan_pm_ops,
|
||||
.of_match_table = flexcan_of_match,
|
||||
},
|
||||
|
|
|
@ -1738,7 +1738,6 @@ MODULE_DEVICE_TABLE(of, grcan_match);
|
|||
static struct platform_driver grcan_driver = {
|
||||
.driver = {
|
||||
.name = DRV_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = grcan_match,
|
||||
},
|
||||
.probe = grcan_probe,
|
||||
|
|
|
@ -1910,7 +1910,6 @@ static int ican3_remove(struct platform_device *pdev)
|
|||
static struct platform_driver ican3_driver = {
|
||||
.driver = {
|
||||
.name = DRV_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = ican3_probe,
|
||||
.remove = ican3_remove,
|
||||
|
|
|
@ -906,7 +906,6 @@ MODULE_DEVICE_TABLE(of, rcar_can_of_table);
|
|||
static struct platform_driver rcar_can_driver = {
|
||||
.driver = {
|
||||
.name = RCAR_CAN_DRV_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = of_match_ptr(rcar_can_of_table),
|
||||
.pm = &rcar_can_pm_ops,
|
||||
},
|
||||
|
|
|
@ -1039,7 +1039,6 @@ static int ti_hecc_resume(struct platform_device *pdev)
|
|||
static struct platform_driver ti_hecc_driver = {
|
||||
.driver = {
|
||||
.name = DRV_NAME,
|
||||
.owner = THIS_MODULE,
|
||||
},
|
||||
.probe = ti_hecc_probe,
|
||||
.remove = ti_hecc_remove,
|
||||
|
|
|
@ -1194,7 +1194,6 @@ static struct platform_driver xcan_driver = {
|
|||
.probe = xcan_probe,
|
||||
.remove = xcan_remove,
|
||||
.driver = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = DRIVER_NAME,
|
||||
.pm = &xcan_dev_pm_ops,
|
||||
.of_match_table = xcan_of_match,
|
||||
|
|
Loading…
Reference in New Issue