aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:20:37 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:20:37 -0400
commit1ecc4335eba1a264ed8ac5b180a2ffde8113f3db (patch)
tree78fd4d700008a576dc274e4946537ee455529a32 /drivers
parenta7629c70d0ffd5ea12e681f0dd168d03ff3b60ec (diff)
i2c: busses: 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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/i2c/busses/i2c-at91.c1
-rw-r--r--drivers/i2c/busses/i2c-au1550.c1
-rw-r--r--drivers/i2c/busses/i2c-bcm-kona.c1
-rw-r--r--drivers/i2c/busses/i2c-bcm2835.c1
-rw-r--r--drivers/i2c/busses/i2c-bfin-twi.c1
-rw-r--r--drivers/i2c/busses/i2c-cadence.c1
-rw-r--r--drivers/i2c/busses/i2c-cbus-gpio.c1
-rw-r--r--drivers/i2c/busses/i2c-cpm.c1
-rw-r--r--drivers/i2c/busses/i2c-davinci.c1
-rw-r--r--drivers/i2c/busses/i2c-designware-platdrv.c1
-rw-r--r--drivers/i2c/busses/i2c-efm32.c1
-rw-r--r--drivers/i2c/busses/i2c-exynos5.c1
-rw-r--r--drivers/i2c/busses/i2c-gpio.c1
-rw-r--r--drivers/i2c/busses/i2c-highlander.c1
-rw-r--r--drivers/i2c/busses/i2c-ibm_iic.c1
-rw-r--r--drivers/i2c/busses/i2c-imx.c1
-rw-r--r--drivers/i2c/busses/i2c-iop3xx.c1
-rw-r--r--drivers/i2c/busses/i2c-isch.c1
-rw-r--r--drivers/i2c/busses/i2c-kempld.c1
-rw-r--r--drivers/i2c/busses/i2c-mpc.c1
-rw-r--r--drivers/i2c/busses/i2c-mv64xxx.c1
-rw-r--r--drivers/i2c/busses/i2c-mxs.c1
-rw-r--r--drivers/i2c/busses/i2c-ocores.c1
-rw-r--r--drivers/i2c/busses/i2c-octeon.c1
-rw-r--r--drivers/i2c/busses/i2c-omap.c1
-rw-r--r--drivers/i2c/busses/i2c-parport-light.c1
-rw-r--r--drivers/i2c/busses/i2c-pca-platform.c1
-rw-r--r--drivers/i2c/busses/i2c-pmcmsp.c1
-rw-r--r--drivers/i2c/busses/i2c-pnx.c1
-rw-r--r--drivers/i2c/busses/i2c-puv3.c1
-rw-r--r--drivers/i2c/busses/i2c-pxa.c1
-rw-r--r--drivers/i2c/busses/i2c-qup.c1
-rw-r--r--drivers/i2c/busses/i2c-rcar.c1
-rw-r--r--drivers/i2c/busses/i2c-riic.c1
-rw-r--r--drivers/i2c/busses/i2c-rk3x.c1
-rw-r--r--drivers/i2c/busses/i2c-s3c2410.c1
-rw-r--r--drivers/i2c/busses/i2c-sh7760.c1
-rw-r--r--drivers/i2c/busses/i2c-sh_mobile.c1
-rw-r--r--drivers/i2c/busses/i2c-simtec.c1
-rw-r--r--drivers/i2c/busses/i2c-sirf.c1
-rw-r--r--drivers/i2c/busses/i2c-st.c1
-rw-r--r--drivers/i2c/busses/i2c-stu300.c1
-rw-r--r--drivers/i2c/busses/i2c-sun6i-p2wi.c1
-rw-r--r--drivers/i2c/busses/i2c-tegra.c1
-rw-r--r--drivers/i2c/busses/i2c-versatile.c1
-rw-r--r--drivers/i2c/busses/i2c-wmt.c1
-rw-r--r--drivers/i2c/busses/i2c-xiic.c1
-rw-r--r--drivers/i2c/busses/i2c-xlr.c1
-rw-r--r--drivers/i2c/busses/scx200_acb.c1
49 files changed, 0 insertions, 49 deletions
diff --git a/drivers/i2c/busses/i2c-at91.c b/drivers/i2c/busses/i2c-at91.c
index 917d54588d95..b39e0e84ee50 100644
--- a/drivers/i2c/busses/i2c-at91.c
+++ b/drivers/i2c/busses/i2c-at91.c
@@ -851,7 +851,6 @@ static struct platform_driver at91_twi_driver = {
851 .id_table = at91_twi_devtypes, 851 .id_table = at91_twi_devtypes,
852 .driver = { 852 .driver = {
853 .name = "at91_i2c", 853 .name = "at91_i2c",
854 .owner = THIS_MODULE,
855 .of_match_table = of_match_ptr(atmel_twi_dt_ids), 854 .of_match_table = of_match_ptr(atmel_twi_dt_ids),
856 .pm = at91_twi_pm_ops, 855 .pm = at91_twi_pm_ops,
857 }, 856 },
diff --git a/drivers/i2c/busses/i2c-au1550.c b/drivers/i2c/busses/i2c-au1550.c
index 8762458ca7da..74faf6317bce 100644
--- a/drivers/i2c/busses/i2c-au1550.c
+++ b/drivers/i2c/busses/i2c-au1550.c
@@ -417,7 +417,6 @@ static const struct dev_pm_ops i2c_au1550_pmops = {
417static struct platform_driver au1xpsc_smbus_driver = { 417static struct platform_driver au1xpsc_smbus_driver = {
418 .driver = { 418 .driver = {
419 .name = "au1xpsc_smbus", 419 .name = "au1xpsc_smbus",
420 .owner = THIS_MODULE,
421 .pm = AU1XPSC_SMBUS_PMOPS, 420 .pm = AU1XPSC_SMBUS_PMOPS,
422 }, 421 },
423 .probe = i2c_au1550_probe, 422 .probe = i2c_au1550_probe,
diff --git a/drivers/i2c/busses/i2c-bcm-kona.c b/drivers/i2c/busses/i2c-bcm-kona.c
index 18a74a6751a9..2c9d9b1c8e64 100644
--- a/drivers/i2c/busses/i2c-bcm-kona.c
+++ b/drivers/i2c/busses/i2c-bcm-kona.c
@@ -895,7 +895,6 @@ MODULE_DEVICE_TABLE(of, bcm_kona_i2c_of_match);
895static struct platform_driver bcm_kona_i2c_driver = { 895static struct platform_driver bcm_kona_i2c_driver = {
896 .driver = { 896 .driver = {
897 .name = "bcm-kona-i2c", 897 .name = "bcm-kona-i2c",
898 .owner = THIS_MODULE,
899 .of_match_table = bcm_kona_i2c_of_match, 898 .of_match_table = bcm_kona_i2c_of_match,
900 }, 899 },
901 .probe = bcm_kona_i2c_probe, 900 .probe = bcm_kona_i2c_probe,
diff --git a/drivers/i2c/busses/i2c-bcm2835.c b/drivers/i2c/busses/i2c-bcm2835.c
index 4b8ecd0b3661..5d6feb937b9d 100644
--- a/drivers/i2c/busses/i2c-bcm2835.c
+++ b/drivers/i2c/busses/i2c-bcm2835.c
@@ -313,7 +313,6 @@ static struct platform_driver bcm2835_i2c_driver = {
313 .remove = bcm2835_i2c_remove, 313 .remove = bcm2835_i2c_remove,
314 .driver = { 314 .driver = {
315 .name = "i2c-bcm2835", 315 .name = "i2c-bcm2835",
316 .owner = THIS_MODULE,
317 .of_match_table = bcm2835_i2c_of_match, 316 .of_match_table = bcm2835_i2c_of_match,
318 }, 317 },
319}; 318};
diff --git a/drivers/i2c/busses/i2c-bfin-twi.c b/drivers/i2c/busses/i2c-bfin-twi.c
index 067c1615e968..af162b4c7a6d 100644
--- a/drivers/i2c/busses/i2c-bfin-twi.c
+++ b/drivers/i2c/busses/i2c-bfin-twi.c
@@ -717,7 +717,6 @@ static struct platform_driver i2c_bfin_twi_driver = {
717 .remove = i2c_bfin_twi_remove, 717 .remove = i2c_bfin_twi_remove,
718 .driver = { 718 .driver = {
719 .name = "i2c-bfin-twi", 719 .name = "i2c-bfin-twi",
720 .owner = THIS_MODULE,
721 .pm = I2C_BFIN_TWI_PM_OPS, 720 .pm = I2C_BFIN_TWI_PM_OPS,
722 }, 721 },
723}; 722};
diff --git a/drivers/i2c/busses/i2c-cadence.c b/drivers/i2c/busses/i2c-cadence.c
index 63f3f03ecc9b..04d0a7e449ef 100644
--- a/drivers/i2c/busses/i2c-cadence.c
+++ b/drivers/i2c/busses/i2c-cadence.c
@@ -890,7 +890,6 @@ MODULE_DEVICE_TABLE(of, cdns_i2c_of_match);
890static struct platform_driver cdns_i2c_drv = { 890static struct platform_driver cdns_i2c_drv = {
891 .driver = { 891 .driver = {
892 .name = DRIVER_NAME, 892 .name = DRIVER_NAME,
893 .owner = THIS_MODULE,
894 .of_match_table = cdns_i2c_of_match, 893 .of_match_table = cdns_i2c_of_match,
895 .pm = &cdns_i2c_dev_pm_ops, 894 .pm = &cdns_i2c_dev_pm_ops,
896 }, 895 },
diff --git a/drivers/i2c/busses/i2c-cbus-gpio.c b/drivers/i2c/busses/i2c-cbus-gpio.c
index bdf040fd8675..b4f91e48948a 100644
--- a/drivers/i2c/busses/i2c-cbus-gpio.c
+++ b/drivers/i2c/busses/i2c-cbus-gpio.c
@@ -287,7 +287,6 @@ static struct platform_driver cbus_i2c_driver = {
287 .probe = cbus_i2c_probe, 287 .probe = cbus_i2c_probe,
288 .remove = cbus_i2c_remove, 288 .remove = cbus_i2c_remove,
289 .driver = { 289 .driver = {
290 .owner = THIS_MODULE,
291 .name = "i2c-cbus-gpio", 290 .name = "i2c-cbus-gpio",
292 .of_match_table = of_match_ptr(i2c_cbus_dt_ids), 291 .of_match_table = of_match_ptr(i2c_cbus_dt_ids),
293 }, 292 },
diff --git a/drivers/i2c/busses/i2c-cpm.c b/drivers/i2c/busses/i2c-cpm.c
index f3b89a4698b6..a08069c71555 100644
--- a/drivers/i2c/busses/i2c-cpm.c
+++ b/drivers/i2c/busses/i2c-cpm.c
@@ -720,7 +720,6 @@ static struct platform_driver cpm_i2c_driver = {
720 .remove = cpm_i2c_remove, 720 .remove = cpm_i2c_remove,
721 .driver = { 721 .driver = {
722 .name = "fsl-i2c-cpm", 722 .name = "fsl-i2c-cpm",
723 .owner = THIS_MODULE,
724 .of_match_table = cpm_i2c_match, 723 .of_match_table = cpm_i2c_match,
725 }, 724 },
726}; 725};
diff --git a/drivers/i2c/busses/i2c-davinci.c b/drivers/i2c/busses/i2c-davinci.c
index 4d9614719128..dcf671b736b7 100644
--- a/drivers/i2c/busses/i2c-davinci.c
+++ b/drivers/i2c/busses/i2c-davinci.c
@@ -793,7 +793,6 @@ static struct platform_driver davinci_i2c_driver = {
793 .remove = davinci_i2c_remove, 793 .remove = davinci_i2c_remove,
794 .driver = { 794 .driver = {
795 .name = "i2c_davinci", 795 .name = "i2c_davinci",
796 .owner = THIS_MODULE,
797 .pm = davinci_i2c_pm_ops, 796 .pm = davinci_i2c_pm_ops,
798 .of_match_table = davinci_i2c_of_match, 797 .of_match_table = davinci_i2c_of_match,
799 }, 798 },
diff --git a/drivers/i2c/busses/i2c-designware-platdrv.c b/drivers/i2c/busses/i2c-designware-platdrv.c
index a7431150acf7..cb0667ce1d40 100644
--- a/drivers/i2c/busses/i2c-designware-platdrv.c
+++ b/drivers/i2c/busses/i2c-designware-platdrv.c
@@ -331,7 +331,6 @@ static struct platform_driver dw_i2c_driver = {
331 .remove = dw_i2c_remove, 331 .remove = dw_i2c_remove,
332 .driver = { 332 .driver = {
333 .name = "i2c_designware", 333 .name = "i2c_designware",
334 .owner = THIS_MODULE,
335 .of_match_table = of_match_ptr(dw_i2c_of_match), 334 .of_match_table = of_match_ptr(dw_i2c_of_match),
336 .acpi_match_table = ACPI_PTR(dw_i2c_acpi_match), 335 .acpi_match_table = ACPI_PTR(dw_i2c_acpi_match),
337 .pm = &dw_i2c_dev_pm_ops, 336 .pm = &dw_i2c_dev_pm_ops,
diff --git a/drivers/i2c/busses/i2c-efm32.c b/drivers/i2c/busses/i2c-efm32.c
index 10b8323b08d4..8eff62738877 100644
--- a/drivers/i2c/busses/i2c-efm32.c
+++ b/drivers/i2c/busses/i2c-efm32.c
@@ -473,7 +473,6 @@ static struct platform_driver efm32_i2c_driver = {
473 473
474 .driver = { 474 .driver = {
475 .name = DRIVER_NAME, 475 .name = DRIVER_NAME,
476 .owner = THIS_MODULE,
477 .of_match_table = efm32_i2c_dt_ids, 476 .of_match_table = efm32_i2c_dt_ids,
478 }, 477 },
479}; 478};
diff --git a/drivers/i2c/busses/i2c-exynos5.c b/drivers/i2c/busses/i2c-exynos5.c
index 81e6263cd7da..9306a5c3092e 100644
--- a/drivers/i2c/busses/i2c-exynos5.c
+++ b/drivers/i2c/busses/i2c-exynos5.c
@@ -861,7 +861,6 @@ static struct platform_driver exynos5_i2c_driver = {
861 .probe = exynos5_i2c_probe, 861 .probe = exynos5_i2c_probe,
862 .remove = exynos5_i2c_remove, 862 .remove = exynos5_i2c_remove,
863 .driver = { 863 .driver = {
864 .owner = THIS_MODULE,
865 .name = "exynos5-hsi2c", 864 .name = "exynos5-hsi2c",
866 .pm = &exynos5_i2c_dev_pm_ops, 865 .pm = &exynos5_i2c_dev_pm_ops,
867 .of_match_table = exynos5_i2c_match, 866 .of_match_table = exynos5_i2c_match,
diff --git a/drivers/i2c/busses/i2c-gpio.c b/drivers/i2c/busses/i2c-gpio.c
index 933f1e453e41..34cfc0ebdcb9 100644
--- a/drivers/i2c/busses/i2c-gpio.c
+++ b/drivers/i2c/busses/i2c-gpio.c
@@ -260,7 +260,6 @@ MODULE_DEVICE_TABLE(of, i2c_gpio_dt_ids);
260static struct platform_driver i2c_gpio_driver = { 260static struct platform_driver i2c_gpio_driver = {
261 .driver = { 261 .driver = {
262 .name = "i2c-gpio", 262 .name = "i2c-gpio",
263 .owner = THIS_MODULE,
264 .of_match_table = of_match_ptr(i2c_gpio_dt_ids), 263 .of_match_table = of_match_ptr(i2c_gpio_dt_ids),
265 }, 264 },
266 .probe = i2c_gpio_probe, 265 .probe = i2c_gpio_probe,
diff --git a/drivers/i2c/busses/i2c-highlander.c b/drivers/i2c/busses/i2c-highlander.c
index 512fcfabc18e..56dc69e7349f 100644
--- a/drivers/i2c/busses/i2c-highlander.c
+++ b/drivers/i2c/busses/i2c-highlander.c
@@ -456,7 +456,6 @@ static int highlander_i2c_remove(struct platform_device *pdev)
456static struct platform_driver highlander_i2c_driver = { 456static struct platform_driver highlander_i2c_driver = {
457 .driver = { 457 .driver = {
458 .name = "i2c-highlander", 458 .name = "i2c-highlander",
459 .owner = THIS_MODULE,
460 }, 459 },
461 460
462 .probe = highlander_i2c_probe, 461 .probe = highlander_i2c_probe,
diff --git a/drivers/i2c/busses/i2c-ibm_iic.c b/drivers/i2c/busses/i2c-ibm_iic.c
index 274312c96b12..722f839cfa3c 100644
--- a/drivers/i2c/busses/i2c-ibm_iic.c
+++ b/drivers/i2c/busses/i2c-ibm_iic.c
@@ -802,7 +802,6 @@ static const struct of_device_id ibm_iic_match[] = {
802static struct platform_driver ibm_iic_driver = { 802static struct platform_driver ibm_iic_driver = {
803 .driver = { 803 .driver = {
804 .name = "ibm-iic", 804 .name = "ibm-iic",
805 .owner = THIS_MODULE,
806 .of_match_table = ibm_iic_match, 805 .of_match_table = ibm_iic_match,
807 }, 806 },
808 .probe = iic_probe, 807 .probe = iic_probe,
diff --git a/drivers/i2c/busses/i2c-imx.c b/drivers/i2c/busses/i2c-imx.c
index c48e46af670a..3c881913784b 100644
--- a/drivers/i2c/busses/i2c-imx.c
+++ b/drivers/i2c/busses/i2c-imx.c
@@ -777,7 +777,6 @@ static struct platform_driver i2c_imx_driver = {
777 .remove = i2c_imx_remove, 777 .remove = i2c_imx_remove,
778 .driver = { 778 .driver = {
779 .name = DRIVER_NAME, 779 .name = DRIVER_NAME,
780 .owner = THIS_MODULE,
781 .of_match_table = i2c_imx_dt_ids, 780 .of_match_table = i2c_imx_dt_ids,
782 }, 781 },
783 .id_table = imx_i2c_devtype, 782 .id_table = imx_i2c_devtype,
diff --git a/drivers/i2c/busses/i2c-iop3xx.c b/drivers/i2c/busses/i2c-iop3xx.c
index 3d16c2f60a5e..72d6161cf77c 100644
--- a/drivers/i2c/busses/i2c-iop3xx.c
+++ b/drivers/i2c/busses/i2c-iop3xx.c
@@ -516,7 +516,6 @@ static struct platform_driver iop3xx_i2c_driver = {
516 .probe = iop3xx_i2c_probe, 516 .probe = iop3xx_i2c_probe,
517 .remove = iop3xx_i2c_remove, 517 .remove = iop3xx_i2c_remove,
518 .driver = { 518 .driver = {
519 .owner = THIS_MODULE,
520 .name = "IOP3xx-I2C", 519 .name = "IOP3xx-I2C",
521 }, 520 },
522}; 521};
diff --git a/drivers/i2c/busses/i2c-isch.c b/drivers/i2c/busses/i2c-isch.c
index cf99dbf21fd1..efd8ed6f7f32 100644
--- a/drivers/i2c/busses/i2c-isch.c
+++ b/drivers/i2c/busses/i2c-isch.c
@@ -313,7 +313,6 @@ static int smbus_sch_remove(struct platform_device *pdev)
313static struct platform_driver smbus_sch_driver = { 313static struct platform_driver smbus_sch_driver = {
314 .driver = { 314 .driver = {
315 .name = "isch_smbus", 315 .name = "isch_smbus",
316 .owner = THIS_MODULE,
317 }, 316 },
318 .probe = smbus_sch_probe, 317 .probe = smbus_sch_probe,
319 .remove = smbus_sch_remove, 318 .remove = smbus_sch_remove,
diff --git a/drivers/i2c/busses/i2c-kempld.c b/drivers/i2c/busses/i2c-kempld.c
index af8f65fb1c05..25993d2e64bf 100644
--- a/drivers/i2c/busses/i2c-kempld.c
+++ b/drivers/i2c/busses/i2c-kempld.c
@@ -394,7 +394,6 @@ static int kempld_i2c_resume(struct platform_device *pdev)
394static struct platform_driver kempld_i2c_driver = { 394static struct platform_driver kempld_i2c_driver = {
395 .driver = { 395 .driver = {
396 .name = "kempld-i2c", 396 .name = "kempld-i2c",
397 .owner = THIS_MODULE,
398 }, 397 },
399 .probe = kempld_i2c_probe, 398 .probe = kempld_i2c_probe,
400 .remove = kempld_i2c_remove, 399 .remove = kempld_i2c_remove,
diff --git a/drivers/i2c/busses/i2c-mpc.c b/drivers/i2c/busses/i2c-mpc.c
index 0edf630b099a..795d25ed0f92 100644
--- a/drivers/i2c/busses/i2c-mpc.c
+++ b/drivers/i2c/busses/i2c-mpc.c
@@ -813,7 +813,6 @@ static struct platform_driver mpc_i2c_driver = {
813 .probe = fsl_i2c_probe, 813 .probe = fsl_i2c_probe,
814 .remove = fsl_i2c_remove, 814 .remove = fsl_i2c_remove,
815 .driver = { 815 .driver = {
816 .owner = THIS_MODULE,
817 .name = DRV_NAME, 816 .name = DRV_NAME,
818 .of_match_table = mpc_i2c_of_match, 817 .of_match_table = mpc_i2c_of_match,
819 .pm = MPC_I2C_PM_OPS, 818 .pm = MPC_I2C_PM_OPS,
diff --git a/drivers/i2c/busses/i2c-mv64xxx.c b/drivers/i2c/busses/i2c-mv64xxx.c
index 2f64273d3f2b..373f6d4e4080 100644
--- a/drivers/i2c/busses/i2c-mv64xxx.c
+++ b/drivers/i2c/busses/i2c-mv64xxx.c
@@ -925,7 +925,6 @@ static struct platform_driver mv64xxx_i2c_driver = {
925 .probe = mv64xxx_i2c_probe, 925 .probe = mv64xxx_i2c_probe,
926 .remove = mv64xxx_i2c_remove, 926 .remove = mv64xxx_i2c_remove,
927 .driver = { 927 .driver = {
928 .owner = THIS_MODULE,
929 .name = MV64XXX_I2C_CTLR_NAME, 928 .name = MV64XXX_I2C_CTLR_NAME,
930 .of_match_table = mv64xxx_i2c_of_match_table, 929 .of_match_table = mv64xxx_i2c_of_match_table,
931 }, 930 },
diff --git a/drivers/i2c/busses/i2c-mxs.c b/drivers/i2c/busses/i2c-mxs.c
index 07e1be6f8992..a13aeade5d3c 100644
--- a/drivers/i2c/busses/i2c-mxs.c
+++ b/drivers/i2c/busses/i2c-mxs.c
@@ -893,7 +893,6 @@ static int mxs_i2c_remove(struct platform_device *pdev)
893static struct platform_driver mxs_i2c_driver = { 893static struct platform_driver mxs_i2c_driver = {
894 .driver = { 894 .driver = {
895 .name = DRIVER_NAME, 895 .name = DRIVER_NAME,
896 .owner = THIS_MODULE,
897 .of_match_table = mxs_i2c_dt_ids, 896 .of_match_table = mxs_i2c_dt_ids,
898 }, 897 },
899 .probe = mxs_i2c_probe, 898 .probe = mxs_i2c_probe,
diff --git a/drivers/i2c/busses/i2c-ocores.c b/drivers/i2c/busses/i2c-ocores.c
index 2a4fe0b7cfb7..7249b5b1e5d0 100644
--- a/drivers/i2c/busses/i2c-ocores.c
+++ b/drivers/i2c/busses/i2c-ocores.c
@@ -480,7 +480,6 @@ static struct platform_driver ocores_i2c_driver = {
480 .probe = ocores_i2c_probe, 480 .probe = ocores_i2c_probe,
481 .remove = ocores_i2c_remove, 481 .remove = ocores_i2c_remove,
482 .driver = { 482 .driver = {
483 .owner = THIS_MODULE,
484 .name = "ocores-i2c", 483 .name = "ocores-i2c",
485 .of_match_table = ocores_i2c_match, 484 .of_match_table = ocores_i2c_match,
486 .pm = OCORES_I2C_PM, 485 .pm = OCORES_I2C_PM,
diff --git a/drivers/i2c/busses/i2c-octeon.c b/drivers/i2c/busses/i2c-octeon.c
index 81042b08a947..6e75e016bffc 100644
--- a/drivers/i2c/busses/i2c-octeon.c
+++ b/drivers/i2c/busses/i2c-octeon.c
@@ -623,7 +623,6 @@ static struct platform_driver octeon_i2c_driver = {
623 .probe = octeon_i2c_probe, 623 .probe = octeon_i2c_probe,
624 .remove = octeon_i2c_remove, 624 .remove = octeon_i2c_remove,
625 .driver = { 625 .driver = {
626 .owner = THIS_MODULE,
627 .name = DRV_NAME, 626 .name = DRV_NAME,
628 .of_match_table = octeon_i2c_match, 627 .of_match_table = octeon_i2c_match,
629 }, 628 },
diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c
index 0dffb0e62c3b..d20c6bc64c70 100644
--- a/drivers/i2c/busses/i2c-omap.c
+++ b/drivers/i2c/busses/i2c-omap.c
@@ -1338,7 +1338,6 @@ static struct platform_driver omap_i2c_driver = {
1338 .remove = omap_i2c_remove, 1338 .remove = omap_i2c_remove,
1339 .driver = { 1339 .driver = {
1340 .name = "omap_i2c", 1340 .name = "omap_i2c",
1341 .owner = THIS_MODULE,
1342 .pm = OMAP_I2C_PM_OPS, 1341 .pm = OMAP_I2C_PM_OPS,
1343 .of_match_table = of_match_ptr(omap_i2c_of_match), 1342 .of_match_table = of_match_ptr(omap_i2c_of_match),
1344 }, 1343 },
diff --git a/drivers/i2c/busses/i2c-parport-light.c b/drivers/i2c/busses/i2c-parport-light.c
index 62f55fe624cb..96da36f69f06 100644
--- a/drivers/i2c/busses/i2c-parport-light.c
+++ b/drivers/i2c/busses/i2c-parport-light.c
@@ -187,7 +187,6 @@ static int i2c_parport_remove(struct platform_device *pdev)
187 187
188static struct platform_driver i2c_parport_driver = { 188static struct platform_driver i2c_parport_driver = {
189 .driver = { 189 .driver = {
190 .owner = THIS_MODULE,
191 .name = DRVNAME, 190 .name = DRVNAME,
192 }, 191 },
193 .probe = i2c_parport_probe, 192 .probe = i2c_parport_probe,
diff --git a/drivers/i2c/busses/i2c-pca-platform.c b/drivers/i2c/busses/i2c-pca-platform.c
index 845f12598e79..6336f02ec566 100644
--- a/drivers/i2c/busses/i2c-pca-platform.c
+++ b/drivers/i2c/busses/i2c-pca-platform.c
@@ -280,7 +280,6 @@ static struct platform_driver i2c_pca_pf_driver = {
280 .remove = i2c_pca_pf_remove, 280 .remove = i2c_pca_pf_remove,
281 .driver = { 281 .driver = {
282 .name = "i2c-pca-platform", 282 .name = "i2c-pca-platform",
283 .owner = THIS_MODULE,
284 }, 283 },
285}; 284};
286 285
diff --git a/drivers/i2c/busses/i2c-pmcmsp.c b/drivers/i2c/busses/i2c-pmcmsp.c
index 8564768fee32..702d05b7daf3 100644
--- a/drivers/i2c/busses/i2c-pmcmsp.c
+++ b/drivers/i2c/busses/i2c-pmcmsp.c
@@ -628,7 +628,6 @@ static struct platform_driver pmcmsptwi_driver = {
628 .remove = pmcmsptwi_remove, 628 .remove = pmcmsptwi_remove,
629 .driver = { 629 .driver = {
630 .name = DRV_NAME, 630 .name = DRV_NAME,
631 .owner = THIS_MODULE,
632 }, 631 },
633}; 632};
634 633
diff --git a/drivers/i2c/busses/i2c-pnx.c b/drivers/i2c/busses/i2c-pnx.c
index dc7ff829ad78..e814a36d9b78 100644
--- a/drivers/i2c/busses/i2c-pnx.c
+++ b/drivers/i2c/busses/i2c-pnx.c
@@ -751,7 +751,6 @@ MODULE_DEVICE_TABLE(of, i2c_pnx_of_match);
751static struct platform_driver i2c_pnx_driver = { 751static struct platform_driver i2c_pnx_driver = {
752 .driver = { 752 .driver = {
753 .name = "pnx-i2c", 753 .name = "pnx-i2c",
754 .owner = THIS_MODULE,
755 .of_match_table = of_match_ptr(i2c_pnx_of_match), 754 .of_match_table = of_match_ptr(i2c_pnx_of_match),
756 .pm = PNX_I2C_PM, 755 .pm = PNX_I2C_PM,
757 }, 756 },
diff --git a/drivers/i2c/busses/i2c-puv3.c b/drivers/i2c/busses/i2c-puv3.c
index c83fc3ccdd2b..82b6f02544da 100644
--- a/drivers/i2c/busses/i2c-puv3.c
+++ b/drivers/i2c/busses/i2c-puv3.c
@@ -270,7 +270,6 @@ static struct platform_driver puv3_i2c_driver = {
270 .remove = puv3_i2c_remove, 270 .remove = puv3_i2c_remove,
271 .driver = { 271 .driver = {
272 .name = "PKUnity-v3-I2C", 272 .name = "PKUnity-v3-I2C",
273 .owner = THIS_MODULE,
274 .pm = PUV3_I2C_PM, 273 .pm = PUV3_I2C_PM,
275 } 274 }
276}; 275};
diff --git a/drivers/i2c/busses/i2c-pxa.c b/drivers/i2c/busses/i2c-pxa.c
index be671f7a0e06..495589a78e6c 100644
--- a/drivers/i2c/busses/i2c-pxa.c
+++ b/drivers/i2c/busses/i2c-pxa.c
@@ -1328,7 +1328,6 @@ static struct platform_driver i2c_pxa_driver = {
1328 .remove = i2c_pxa_remove, 1328 .remove = i2c_pxa_remove,
1329 .driver = { 1329 .driver = {
1330 .name = "pxa2xx-i2c", 1330 .name = "pxa2xx-i2c",
1331 .owner = THIS_MODULE,
1332 .pm = I2C_PXA_DEV_PM_OPS, 1331 .pm = I2C_PXA_DEV_PM_OPS,
1333 .of_match_table = i2c_pxa_dt_ids, 1332 .of_match_table = i2c_pxa_dt_ids,
1334 }, 1333 },
diff --git a/drivers/i2c/busses/i2c-qup.c b/drivers/i2c/busses/i2c-qup.c
index 092d89bd3224..4dad23bdffbe 100644
--- a/drivers/i2c/busses/i2c-qup.c
+++ b/drivers/i2c/busses/i2c-qup.c
@@ -764,7 +764,6 @@ static struct platform_driver qup_i2c_driver = {
764 .remove = qup_i2c_remove, 764 .remove = qup_i2c_remove,
765 .driver = { 765 .driver = {
766 .name = "i2c_qup", 766 .name = "i2c_qup",
767 .owner = THIS_MODULE,
768 .pm = &qup_i2c_qup_pm_ops, 767 .pm = &qup_i2c_qup_pm_ops,
769 .of_match_table = qup_i2c_dt_match, 768 .of_match_table = qup_i2c_dt_match,
770 }, 769 },
diff --git a/drivers/i2c/busses/i2c-rcar.c b/drivers/i2c/busses/i2c-rcar.c
index d826e82dd997..a9494eec1ee2 100644
--- a/drivers/i2c/busses/i2c-rcar.c
+++ b/drivers/i2c/busses/i2c-rcar.c
@@ -620,7 +620,6 @@ MODULE_DEVICE_TABLE(platform, rcar_i2c_id_table);
620static struct platform_driver rcar_i2c_driver = { 620static struct platform_driver rcar_i2c_driver = {
621 .driver = { 621 .driver = {
622 .name = "i2c-rcar", 622 .name = "i2c-rcar",
623 .owner = THIS_MODULE,
624 .of_match_table = rcar_i2c_dt_ids, 623 .of_match_table = rcar_i2c_dt_ids,
625 }, 624 },
626 .probe = rcar_i2c_probe, 625 .probe = rcar_i2c_probe,
diff --git a/drivers/i2c/busses/i2c-riic.c b/drivers/i2c/busses/i2c-riic.c
index af3b3d032a9f..d7e3af671543 100644
--- a/drivers/i2c/busses/i2c-riic.c
+++ b/drivers/i2c/busses/i2c-riic.c
@@ -414,7 +414,6 @@ static struct platform_driver riic_i2c_driver = {
414 .remove = riic_i2c_remove, 414 .remove = riic_i2c_remove,
415 .driver = { 415 .driver = {
416 .name = "i2c-riic", 416 .name = "i2c-riic",
417 .owner = THIS_MODULE,
418 .of_match_table = riic_i2c_dt_ids, 417 .of_match_table = riic_i2c_dt_ids,
419 }, 418 },
420}; 419};
diff --git a/drivers/i2c/busses/i2c-rk3x.c b/drivers/i2c/busses/i2c-rk3x.c
index f486d0eac4d0..045edd74394a 100644
--- a/drivers/i2c/busses/i2c-rk3x.c
+++ b/drivers/i2c/busses/i2c-rk3x.c
@@ -753,7 +753,6 @@ static struct platform_driver rk3x_i2c_driver = {
753 .probe = rk3x_i2c_probe, 753 .probe = rk3x_i2c_probe,
754 .remove = rk3x_i2c_remove, 754 .remove = rk3x_i2c_remove,
755 .driver = { 755 .driver = {
756 .owner = THIS_MODULE,
757 .name = "rk3x-i2c", 756 .name = "rk3x-i2c",
758 .of_match_table = rk3x_i2c_match, 757 .of_match_table = rk3x_i2c_match,
759 }, 758 },
diff --git a/drivers/i2c/busses/i2c-s3c2410.c b/drivers/i2c/busses/i2c-s3c2410.c
index e3b0337faeb7..fd4fd0c4ef21 100644
--- a/drivers/i2c/busses/i2c-s3c2410.c
+++ b/drivers/i2c/busses/i2c-s3c2410.c
@@ -1305,7 +1305,6 @@ static struct platform_driver s3c24xx_i2c_driver = {
1305 .remove = s3c24xx_i2c_remove, 1305 .remove = s3c24xx_i2c_remove,
1306 .id_table = s3c24xx_driver_ids, 1306 .id_table = s3c24xx_driver_ids,
1307 .driver = { 1307 .driver = {
1308 .owner = THIS_MODULE,
1309 .name = "s3c-i2c", 1308 .name = "s3c-i2c",
1310 .pm = S3C24XX_DEV_PM_OPS, 1309 .pm = S3C24XX_DEV_PM_OPS,
1311 .of_match_table = of_match_ptr(s3c24xx_i2c_match), 1310 .of_match_table = of_match_ptr(s3c24xx_i2c_match),
diff --git a/drivers/i2c/busses/i2c-sh7760.c b/drivers/i2c/busses/i2c-sh7760.c
index d76f3d9737ec..24968384b401 100644
--- a/drivers/i2c/busses/i2c-sh7760.c
+++ b/drivers/i2c/busses/i2c-sh7760.c
@@ -552,7 +552,6 @@ static int sh7760_i2c_remove(struct platform_device *pdev)
552static struct platform_driver sh7760_i2c_drv = { 552static struct platform_driver sh7760_i2c_drv = {
553 .driver = { 553 .driver = {
554 .name = SH7760_I2C_DEVNAME, 554 .name = SH7760_I2C_DEVNAME,
555 .owner = THIS_MODULE,
556 }, 555 },
557 .probe = sh7760_i2c_probe, 556 .probe = sh7760_i2c_probe,
558 .remove = sh7760_i2c_remove, 557 .remove = sh7760_i2c_remove,
diff --git a/drivers/i2c/busses/i2c-sh_mobile.c b/drivers/i2c/busses/i2c-sh_mobile.c
index 8b5e79cb4468..12b9a69c0285 100644
--- a/drivers/i2c/busses/i2c-sh_mobile.c
+++ b/drivers/i2c/busses/i2c-sh_mobile.c
@@ -798,7 +798,6 @@ static const struct dev_pm_ops sh_mobile_i2c_dev_pm_ops = {
798static struct platform_driver sh_mobile_i2c_driver = { 798static struct platform_driver sh_mobile_i2c_driver = {
799 .driver = { 799 .driver = {
800 .name = "i2c-sh_mobile", 800 .name = "i2c-sh_mobile",
801 .owner = THIS_MODULE,
802 .pm = &sh_mobile_i2c_dev_pm_ops, 801 .pm = &sh_mobile_i2c_dev_pm_ops,
803 .of_match_table = sh_mobile_i2c_dt_ids, 802 .of_match_table = sh_mobile_i2c_dt_ids,
804 }, 803 },
diff --git a/drivers/i2c/busses/i2c-simtec.c b/drivers/i2c/busses/i2c-simtec.c
index 964e5c6f84ab..e766de8d34e3 100644
--- a/drivers/i2c/busses/i2c-simtec.c
+++ b/drivers/i2c/busses/i2c-simtec.c
@@ -158,7 +158,6 @@ static int simtec_i2c_remove(struct platform_device *dev)
158static struct platform_driver simtec_i2c_driver = { 158static struct platform_driver simtec_i2c_driver = {
159 .driver = { 159 .driver = {
160 .name = "simtec-i2c", 160 .name = "simtec-i2c",
161 .owner = THIS_MODULE,
162 }, 161 },
163 .probe = simtec_i2c_probe, 162 .probe = simtec_i2c_probe,
164 .remove = simtec_i2c_remove, 163 .remove = simtec_i2c_remove,
diff --git a/drivers/i2c/busses/i2c-sirf.c b/drivers/i2c/busses/i2c-sirf.c
index b1336d5f0531..1092d4eeeb54 100644
--- a/drivers/i2c/busses/i2c-sirf.c
+++ b/drivers/i2c/busses/i2c-sirf.c
@@ -451,7 +451,6 @@ MODULE_DEVICE_TABLE(of, sirfsoc_i2c_of_match);
451static struct platform_driver i2c_sirfsoc_driver = { 451static struct platform_driver i2c_sirfsoc_driver = {
452 .driver = { 452 .driver = {
453 .name = "sirfsoc_i2c", 453 .name = "sirfsoc_i2c",
454 .owner = THIS_MODULE,
455#ifdef CONFIG_PM 454#ifdef CONFIG_PM
456 .pm = &i2c_sirfsoc_pm_ops, 455 .pm = &i2c_sirfsoc_pm_ops,
457#endif 456#endif
diff --git a/drivers/i2c/busses/i2c-st.c b/drivers/i2c/busses/i2c-st.c
index 2e4eccd6599a..88057fad9dfe 100644
--- a/drivers/i2c/busses/i2c-st.c
+++ b/drivers/i2c/busses/i2c-st.c
@@ -863,7 +863,6 @@ MODULE_DEVICE_TABLE(of, st_i2c_match);
863static struct platform_driver st_i2c_driver = { 863static struct platform_driver st_i2c_driver = {
864 .driver = { 864 .driver = {
865 .name = "st-i2c", 865 .name = "st-i2c",
866 .owner = THIS_MODULE,
867 .of_match_table = st_i2c_match, 866 .of_match_table = st_i2c_match,
868 .pm = ST_I2C_PM, 867 .pm = ST_I2C_PM,
869 }, 868 },
diff --git a/drivers/i2c/busses/i2c-stu300.c b/drivers/i2c/busses/i2c-stu300.c
index 6a44f37798c8..4885da9e9298 100644
--- a/drivers/i2c/busses/i2c-stu300.c
+++ b/drivers/i2c/busses/i2c-stu300.c
@@ -981,7 +981,6 @@ static const struct of_device_id stu300_dt_match[] = {
981static struct platform_driver stu300_i2c_driver = { 981static struct platform_driver stu300_i2c_driver = {
982 .driver = { 982 .driver = {
983 .name = NAME, 983 .name = NAME,
984 .owner = THIS_MODULE,
985 .pm = STU300_I2C_PM, 984 .pm = STU300_I2C_PM,
986 .of_match_table = stu300_dt_match, 985 .of_match_table = stu300_dt_match,
987 }, 986 },
diff --git a/drivers/i2c/busses/i2c-sun6i-p2wi.c b/drivers/i2c/busses/i2c-sun6i-p2wi.c
index 4d75d4759709..7668e2e9b8fd 100644
--- a/drivers/i2c/busses/i2c-sun6i-p2wi.c
+++ b/drivers/i2c/busses/i2c-sun6i-p2wi.c
@@ -332,7 +332,6 @@ static struct platform_driver p2wi_driver = {
332 .probe = p2wi_probe, 332 .probe = p2wi_probe,
333 .remove = p2wi_remove, 333 .remove = p2wi_remove,
334 .driver = { 334 .driver = {
335 .owner = THIS_MODULE,
336 .name = "i2c-sunxi-p2wi", 335 .name = "i2c-sunxi-p2wi",
337 .of_match_table = p2wi_of_match_table, 336 .of_match_table = p2wi_of_match_table,
338 }, 337 },
diff --git a/drivers/i2c/busses/i2c-tegra.c b/drivers/i2c/busses/i2c-tegra.c
index efba1ebe16ba..28b87e683503 100644
--- a/drivers/i2c/busses/i2c-tegra.c
+++ b/drivers/i2c/busses/i2c-tegra.c
@@ -893,7 +893,6 @@ static struct platform_driver tegra_i2c_driver = {
893 .remove = tegra_i2c_remove, 893 .remove = tegra_i2c_remove,
894 .driver = { 894 .driver = {
895 .name = "tegra-i2c", 895 .name = "tegra-i2c",
896 .owner = THIS_MODULE,
897 .of_match_table = tegra_i2c_of_match, 896 .of_match_table = tegra_i2c_of_match,
898 .pm = TEGRA_I2C_PM, 897 .pm = TEGRA_I2C_PM,
899 }, 898 },
diff --git a/drivers/i2c/busses/i2c-versatile.c b/drivers/i2c/busses/i2c-versatile.c
index 6bb3a89a440f..240637f01d11 100644
--- a/drivers/i2c/busses/i2c-versatile.c
+++ b/drivers/i2c/busses/i2c-versatile.c
@@ -138,7 +138,6 @@ static struct platform_driver i2c_versatile_driver = {
138 .remove = i2c_versatile_remove, 138 .remove = i2c_versatile_remove,
139 .driver = { 139 .driver = {
140 .name = "versatile-i2c", 140 .name = "versatile-i2c",
141 .owner = THIS_MODULE,
142 .of_match_table = i2c_versatile_match, 141 .of_match_table = i2c_versatile_match,
143 }, 142 },
144}; 143};
diff --git a/drivers/i2c/busses/i2c-wmt.c b/drivers/i2c/busses/i2c-wmt.c
index f80a38c2072c..82ea34925489 100644
--- a/drivers/i2c/busses/i2c-wmt.c
+++ b/drivers/i2c/busses/i2c-wmt.c
@@ -462,7 +462,6 @@ static struct platform_driver wmt_i2c_driver = {
462 .remove = wmt_i2c_remove, 462 .remove = wmt_i2c_remove,
463 .driver = { 463 .driver = {
464 .name = "wmt-i2c", 464 .name = "wmt-i2c",
465 .owner = THIS_MODULE,
466 .of_match_table = wmt_i2c_dt_ids, 465 .of_match_table = wmt_i2c_dt_ids,
467 }, 466 },
468}; 467};
diff --git a/drivers/i2c/busses/i2c-xiic.c b/drivers/i2c/busses/i2c-xiic.c
index ade9223912d3..e60e67a5fac6 100644
--- a/drivers/i2c/busses/i2c-xiic.c
+++ b/drivers/i2c/busses/i2c-xiic.c
@@ -771,7 +771,6 @@ static struct platform_driver xiic_i2c_driver = {
771 .probe = xiic_i2c_probe, 771 .probe = xiic_i2c_probe,
772 .remove = xiic_i2c_remove, 772 .remove = xiic_i2c_remove,
773 .driver = { 773 .driver = {
774 .owner = THIS_MODULE,
775 .name = DRIVER_NAME, 774 .name = DRIVER_NAME,
776 .of_match_table = of_match_ptr(xiic_of_match), 775 .of_match_table = of_match_ptr(xiic_of_match),
777 }, 776 },
diff --git a/drivers/i2c/busses/i2c-xlr.c b/drivers/i2c/busses/i2c-xlr.c
index 17f7352eca6b..8b36bcfd952d 100644
--- a/drivers/i2c/busses/i2c-xlr.c
+++ b/drivers/i2c/busses/i2c-xlr.c
@@ -263,7 +263,6 @@ static struct platform_driver xlr_i2c_driver = {
263 .remove = xlr_i2c_remove, 263 .remove = xlr_i2c_remove,
264 .driver = { 264 .driver = {
265 .name = "xlr-i2cbus", 265 .name = "xlr-i2cbus",
266 .owner = THIS_MODULE,
267 }, 266 },
268}; 267};
269 268
diff --git a/drivers/i2c/busses/scx200_acb.c b/drivers/i2c/busses/scx200_acb.c
index ff3f5747e43b..77dacfef072e 100644
--- a/drivers/i2c/busses/scx200_acb.c
+++ b/drivers/i2c/busses/scx200_acb.c
@@ -548,7 +548,6 @@ static int scx200_remove(struct platform_device *pdev)
548static struct platform_driver scx200_pci_driver = { 548static struct platform_driver scx200_pci_driver = {
549 .driver = { 549 .driver = {
550 .name = "cs5535-smb", 550 .name = "cs5535-smb",
551 .owner = THIS_MODULE,
552 }, 551 },
553 .probe = scx200_probe, 552 .probe = scx200_probe,
554 .remove = scx200_remove, 553 .remove = scx200_remove,