aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:20:59 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:20:59 -0400
commit0e9063242671dcbc9ca1a10ff5a0cd2dc078397e (patch)
tree76a4fd59a3dfed4338628b15798b0c4fc1978534
parentc084b7bbd35cb21d2e5a6f3ec75b6dc19331eb2f (diff)
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>
-rw-r--r--drivers/net/can/at91_can.c1
-rw-r--r--drivers/net/can/bfin_can.c1
-rw-r--r--drivers/net/can/flexcan.c1
-rw-r--r--drivers/net/can/grcan.c1
-rw-r--r--drivers/net/can/janz-ican3.c1
-rw-r--r--drivers/net/can/rcar_can.c1
-rw-r--r--drivers/net/can/ti_hecc.c1
-rw-r--r--drivers/net/can/xilinx_can.c1
8 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/can/at91_can.c b/drivers/net/can/at91_can.c
index 05e1aa090add..d0c2463b573f 100644
--- a/drivers/net/can/at91_can.c
+++ b/drivers/net/can/at91_can.c
@@ -1428,7 +1428,6 @@ static struct platform_driver at91_can_driver = {
1428 .remove = at91_can_remove, 1428 .remove = at91_can_remove,
1429 .driver = { 1429 .driver = {
1430 .name = KBUILD_MODNAME, 1430 .name = KBUILD_MODNAME,
1431 .owner = THIS_MODULE,
1432 .of_match_table = of_match_ptr(at91_can_dt_ids), 1431 .of_match_table = of_match_ptr(at91_can_dt_ids),
1433 }, 1432 },
1434 .id_table = at91_can_id_table, 1433 .id_table = at91_can_id_table,
diff --git a/drivers/net/can/bfin_can.c b/drivers/net/can/bfin_can.c
index 543ecceb33e9..417d50998e31 100644
--- a/drivers/net/can/bfin_can.c
+++ b/drivers/net/can/bfin_can.c
@@ -680,7 +680,6 @@ static struct platform_driver bfin_can_driver = {
680 .resume = bfin_can_resume, 680 .resume = bfin_can_resume,
681 .driver = { 681 .driver = {
682 .name = DRV_NAME, 682 .name = DRV_NAME,
683 .owner = THIS_MODULE,
684 }, 683 },
685}; 684};
686 685
diff --git a/drivers/net/can/flexcan.c b/drivers/net/can/flexcan.c
index 60f86bd0434a..f1221b27abd3 100644
--- a/drivers/net/can/flexcan.c
+++ b/drivers/net/can/flexcan.c
@@ -1367,7 +1367,6 @@ static SIMPLE_DEV_PM_OPS(flexcan_pm_ops, flexcan_suspend, flexcan_resume);
1367static struct platform_driver flexcan_driver = { 1367static struct platform_driver flexcan_driver = {
1368 .driver = { 1368 .driver = {
1369 .name = DRV_NAME, 1369 .name = DRV_NAME,
1370 .owner = THIS_MODULE,
1371 .pm = &flexcan_pm_ops, 1370 .pm = &flexcan_pm_ops,
1372 .of_match_table = flexcan_of_match, 1371 .of_match_table = flexcan_of_match,
1373 }, 1372 },
diff --git a/drivers/net/can/grcan.c b/drivers/net/can/grcan.c
index 3fd9fd942c6e..fed1bbd0b0d2 100644
--- a/drivers/net/can/grcan.c
+++ b/drivers/net/can/grcan.c
@@ -1738,7 +1738,6 @@ MODULE_DEVICE_TABLE(of, grcan_match);
1738static struct platform_driver grcan_driver = { 1738static struct platform_driver grcan_driver = {
1739 .driver = { 1739 .driver = {
1740 .name = DRV_NAME, 1740 .name = DRV_NAME,
1741 .owner = THIS_MODULE,
1742 .of_match_table = grcan_match, 1741 .of_match_table = grcan_match,
1743 }, 1742 },
1744 .probe = grcan_probe, 1743 .probe = grcan_probe,
diff --git a/drivers/net/can/janz-ican3.c b/drivers/net/can/janz-ican3.c
index 2382c04dc780..1b118394907f 100644
--- a/drivers/net/can/janz-ican3.c
+++ b/drivers/net/can/janz-ican3.c
@@ -1910,7 +1910,6 @@ static int ican3_remove(struct platform_device *pdev)
1910static struct platform_driver ican3_driver = { 1910static struct platform_driver ican3_driver = {
1911 .driver = { 1911 .driver = {
1912 .name = DRV_NAME, 1912 .name = DRV_NAME,
1913 .owner = THIS_MODULE,
1914 }, 1913 },
1915 .probe = ican3_probe, 1914 .probe = ican3_probe,
1916 .remove = ican3_remove, 1915 .remove = ican3_remove,
diff --git a/drivers/net/can/rcar_can.c b/drivers/net/can/rcar_can.c
index 1abe133d1594..05d57f7bf020 100644
--- a/drivers/net/can/rcar_can.c
+++ b/drivers/net/can/rcar_can.c
@@ -906,7 +906,6 @@ MODULE_DEVICE_TABLE(of, rcar_can_of_table);
906static struct platform_driver rcar_can_driver = { 906static struct platform_driver rcar_can_driver = {
907 .driver = { 907 .driver = {
908 .name = RCAR_CAN_DRV_NAME, 908 .name = RCAR_CAN_DRV_NAME,
909 .owner = THIS_MODULE,
910 .of_match_table = of_match_ptr(rcar_can_of_table), 909 .of_match_table = of_match_ptr(rcar_can_of_table),
911 .pm = &rcar_can_pm_ops, 910 .pm = &rcar_can_pm_ops,
912 }, 911 },
diff --git a/drivers/net/can/ti_hecc.c b/drivers/net/can/ti_hecc.c
index 258b9c4856ec..9a07eafe554b 100644
--- a/drivers/net/can/ti_hecc.c
+++ b/drivers/net/can/ti_hecc.c
@@ -1039,7 +1039,6 @@ static int ti_hecc_resume(struct platform_device *pdev)
1039static struct platform_driver ti_hecc_driver = { 1039static struct platform_driver ti_hecc_driver = {
1040 .driver = { 1040 .driver = {
1041 .name = DRV_NAME, 1041 .name = DRV_NAME,
1042 .owner = THIS_MODULE,
1043 }, 1042 },
1044 .probe = ti_hecc_probe, 1043 .probe = ti_hecc_probe,
1045 .remove = ti_hecc_remove, 1044 .remove = ti_hecc_remove,
diff --git a/drivers/net/can/xilinx_can.c b/drivers/net/can/xilinx_can.c
index 5e8b5609c067..72fe96fc8fef 100644
--- a/drivers/net/can/xilinx_can.c
+++ b/drivers/net/can/xilinx_can.c
@@ -1194,7 +1194,6 @@ static struct platform_driver xcan_driver = {
1194 .probe = xcan_probe, 1194 .probe = xcan_probe,
1195 .remove = xcan_remove, 1195 .remove = xcan_remove,
1196 .driver = { 1196 .driver = {
1197 .owner = THIS_MODULE,
1198 .name = DRIVER_NAME, 1197 .name = DRIVER_NAME,
1199 .pm = &xcan_dev_pm_ops, 1198 .pm = &xcan_dev_pm_ops,
1200 .of_match_table = xcan_of_match, 1199 .of_match_table = xcan_of_match,