Commit 4a3a950e authored by Wolfram Sang's avatar Wolfram Sang

gpio: 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: default avatarWolfram Sang <wsa@the-dreams.de>
parent e94d6845
...@@ -177,7 +177,6 @@ static int adp5520_gpio_remove(struct platform_device *pdev) ...@@ -177,7 +177,6 @@ static int adp5520_gpio_remove(struct platform_device *pdev)
static struct platform_driver adp5520_gpio_driver = { static struct platform_driver adp5520_gpio_driver = {
.driver = { .driver = {
.name = "adp5520-gpio", .name = "adp5520-gpio",
.owner = THIS_MODULE,
}, },
.probe = adp5520_gpio_probe, .probe = adp5520_gpio_probe,
.remove = adp5520_gpio_remove, .remove = adp5520_gpio_remove,
......
...@@ -668,7 +668,6 @@ static int bcm_kona_gpio_probe(struct platform_device *pdev) ...@@ -668,7 +668,6 @@ static int bcm_kona_gpio_probe(struct platform_device *pdev)
static struct platform_driver bcm_kona_gpio_driver = { static struct platform_driver bcm_kona_gpio_driver = {
.driver = { .driver = {
.name = "bcm-kona-gpio", .name = "bcm-kona-gpio",
.owner = THIS_MODULE,
.of_match_table = bcm_kona_gpio_of_match, .of_match_table = bcm_kona_gpio_of_match,
}, },
.probe = bcm_kona_gpio_probe, .probe = bcm_kona_gpio_probe,
......
...@@ -87,7 +87,6 @@ MODULE_DEVICE_TABLE(of, clps711x_gpio_ids); ...@@ -87,7 +87,6 @@ MODULE_DEVICE_TABLE(of, clps711x_gpio_ids);
static struct platform_driver clps711x_gpio_driver = { static struct platform_driver clps711x_gpio_driver = {
.driver = { .driver = {
.name = "clps711x-gpio", .name = "clps711x-gpio",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(clps711x_gpio_ids), .of_match_table = of_match_ptr(clps711x_gpio_ids),
}, },
.probe = clps711x_gpio_probe, .probe = clps711x_gpio_probe,
......
...@@ -379,7 +379,6 @@ static struct platform_driver crystalcove_gpio_driver = { ...@@ -379,7 +379,6 @@ static struct platform_driver crystalcove_gpio_driver = {
.remove = crystalcove_gpio_remove, .remove = crystalcove_gpio_remove,
.driver = { .driver = {
.name = "crystal_cove_gpio", .name = "crystal_cove_gpio",
.owner = THIS_MODULE,
}, },
}; };
......
...@@ -372,7 +372,6 @@ static int cs5535_gpio_remove(struct platform_device *pdev) ...@@ -372,7 +372,6 @@ static int cs5535_gpio_remove(struct platform_device *pdev)
static struct platform_driver cs5535_gpio_driver = { static struct platform_driver cs5535_gpio_driver = {
.driver = { .driver = {
.name = DRV_NAME, .name = DRV_NAME,
.owner = THIS_MODULE,
}, },
.probe = cs5535_gpio_probe, .probe = cs5535_gpio_probe,
.remove = cs5535_gpio_remove, .remove = cs5535_gpio_remove,
......
...@@ -246,7 +246,6 @@ static struct platform_driver da9052_gpio_driver = { ...@@ -246,7 +246,6 @@ static struct platform_driver da9052_gpio_driver = {
.remove = da9052_gpio_remove, .remove = da9052_gpio_remove,
.driver = { .driver = {
.name = "da9052-gpio", .name = "da9052-gpio",
.owner = THIS_MODULE,
}, },
}; };
......
...@@ -183,7 +183,6 @@ static struct platform_driver da9055_gpio_driver = { ...@@ -183,7 +183,6 @@ static struct platform_driver da9055_gpio_driver = {
.remove = da9055_gpio_remove, .remove = da9055_gpio_remove,
.driver = { .driver = {
.name = "da9055-gpio", .name = "da9055-gpio",
.owner = THIS_MODULE,
}, },
}; };
......
...@@ -619,7 +619,6 @@ static struct platform_driver davinci_gpio_driver = { ...@@ -619,7 +619,6 @@ static struct platform_driver davinci_gpio_driver = {
.probe = davinci_gpio_probe, .probe = davinci_gpio_probe,
.driver = { .driver = {
.name = "davinci_gpio", .name = "davinci_gpio",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(davinci_gpio_ids), .of_match_table = of_match_ptr(davinci_gpio_ids),
}, },
}; };
......
...@@ -703,7 +703,6 @@ static SIMPLE_DEV_PM_OPS(dwapb_gpio_pm_ops, dwapb_gpio_suspend, ...@@ -703,7 +703,6 @@ static SIMPLE_DEV_PM_OPS(dwapb_gpio_pm_ops, dwapb_gpio_suspend,
static struct platform_driver dwapb_gpio_driver = { static struct platform_driver dwapb_gpio_driver = {
.driver = { .driver = {
.name = "gpio-dwapb", .name = "gpio-dwapb",
.owner = THIS_MODULE,
.pm = &dwapb_gpio_pm_ops, .pm = &dwapb_gpio_pm_ops,
.of_match_table = of_match_ptr(dwapb_of_match), .of_match_table = of_match_ptr(dwapb_of_match),
}, },
......
...@@ -428,7 +428,6 @@ static struct platform_driver em_gio_device_driver = { ...@@ -428,7 +428,6 @@ static struct platform_driver em_gio_device_driver = {
.driver = { .driver = {
.name = "em_gio", .name = "em_gio",
.of_match_table = em_gio_dt_ids, .of_match_table = em_gio_dt_ids,
.owner = THIS_MODULE,
} }
}; };
......
...@@ -374,7 +374,6 @@ static int ep93xx_gpio_probe(struct platform_device *pdev) ...@@ -374,7 +374,6 @@ static int ep93xx_gpio_probe(struct platform_device *pdev)
static struct platform_driver ep93xx_gpio_driver = { static struct platform_driver ep93xx_gpio_driver = {
.driver = { .driver = {
.name = "gpio-ep93xx", .name = "gpio-ep93xx",
.owner = THIS_MODULE,
}, },
.probe = ep93xx_gpio_probe, .probe = ep93xx_gpio_probe,
}; };
......
...@@ -417,7 +417,6 @@ f7188x_gpio_device_add(const struct f7188x_sio *sio) ...@@ -417,7 +417,6 @@ f7188x_gpio_device_add(const struct f7188x_sio *sio)
static struct platform_driver f7188x_gpio_driver = { static struct platform_driver f7188x_gpio_driver = {
.driver = { .driver = {
.owner = THIS_MODULE,
.name = DRVNAME, .name = DRVNAME,
}, },
.probe = f7188x_gpio_probe, .probe = f7188x_gpio_probe,
......
...@@ -120,7 +120,6 @@ static int __init gef_gpio_probe(struct platform_device *pdev) ...@@ -120,7 +120,6 @@ static int __init gef_gpio_probe(struct platform_device *pdev)
static struct platform_driver gef_gpio_driver = { static struct platform_driver gef_gpio_driver = {
.driver = { .driver = {
.name = "gef-gpio", .name = "gef-gpio",
.owner = THIS_MODULE,
.of_match_table = gef_gpio_ids, .of_match_table = gef_gpio_ids,
}, },
}; };
......
...@@ -490,7 +490,6 @@ MODULE_DEVICE_TABLE(of, grgpio_match); ...@@ -490,7 +490,6 @@ MODULE_DEVICE_TABLE(of, grgpio_match);
static struct platform_driver grgpio_driver = { static struct platform_driver grgpio_driver = {
.driver = { .driver = {
.name = "grgpio", .name = "grgpio",
.owner = THIS_MODULE,
.of_match_table = grgpio_match, .of_match_table = grgpio_match,
}, },
.probe = grgpio_probe, .probe = grgpio_probe,
......
...@@ -526,7 +526,6 @@ static int ichx_gpio_remove(struct platform_device *pdev) ...@@ -526,7 +526,6 @@ static int ichx_gpio_remove(struct platform_device *pdev)
static struct platform_driver ichx_gpio_driver = { static struct platform_driver ichx_gpio_driver = {
.driver = { .driver = {
.owner = THIS_MODULE,
.name = DRV_NAME, .name = DRV_NAME,
}, },
.probe = ichx_gpio_probe, .probe = ichx_gpio_probe,
......
...@@ -120,7 +120,6 @@ static int iop3xx_gpio_probe(struct platform_device *pdev) ...@@ -120,7 +120,6 @@ static int iop3xx_gpio_probe(struct platform_device *pdev)
static struct platform_driver iop3xx_gpio_driver = { static struct platform_driver iop3xx_gpio_driver = {
.driver = { .driver = {
.name = "gpio-iop", .name = "gpio-iop",
.owner = THIS_MODULE,
}, },
.probe = iop3xx_gpio_probe, .probe = iop3xx_gpio_probe,
}; };
......
...@@ -203,7 +203,6 @@ static int ttl_remove(struct platform_device *pdev) ...@@ -203,7 +203,6 @@ static int ttl_remove(struct platform_device *pdev)
static struct platform_driver ttl_driver = { static struct platform_driver ttl_driver = {
.driver = { .driver = {
.name = DRV_NAME, .name = DRV_NAME,
.owner = THIS_MODULE,
}, },
.probe = ttl_probe, .probe = ttl_probe,
.remove = ttl_remove, .remove = ttl_remove,
......
...@@ -206,7 +206,6 @@ static int kempld_gpio_remove(struct platform_device *pdev) ...@@ -206,7 +206,6 @@ static int kempld_gpio_remove(struct platform_device *pdev)
static struct platform_driver kempld_gpio_driver = { static struct platform_driver kempld_gpio_driver = {
.driver = { .driver = {
.name = "kempld-gpio", .name = "kempld-gpio",
.owner = THIS_MODULE,
}, },
.probe = kempld_gpio_probe, .probe = kempld_gpio_probe,
.remove = kempld_gpio_remove, .remove = kempld_gpio_remove,
......
...@@ -231,7 +231,6 @@ static struct platform_driver lp3943_gpio_driver = { ...@@ -231,7 +231,6 @@ static struct platform_driver lp3943_gpio_driver = {
.remove = lp3943_gpio_remove, .remove = lp3943_gpio_remove,
.driver = { .driver = {
.name = "lp3943-gpio", .name = "lp3943-gpio",
.owner = THIS_MODULE,
.of_match_table = lp3943_gpio_of_match, .of_match_table = lp3943_gpio_of_match,
}, },
}; };
......
...@@ -569,7 +569,6 @@ static const struct of_device_id lpc32xx_gpio_of_match[] = { ...@@ -569,7 +569,6 @@ static const struct of_device_id lpc32xx_gpio_of_match[] = {
static struct platform_driver lpc32xx_gpio_driver = { static struct platform_driver lpc32xx_gpio_driver = {
.driver = { .driver = {
.name = "lpc32xx-gpio", .name = "lpc32xx-gpio",
.owner = THIS_MODULE,
.of_match_table = of_match_ptr(lpc32xx_gpio_of_match), .of_match_table = of_match_ptr(lpc32xx_gpio_of_match),
}, },
.probe = lpc32xx_gpio_probe, .probe = lpc32xx_gpio_probe,
......
...@@ -450,7 +450,6 @@ static struct platform_driver lp_gpio_driver = { ...@@ -450,7 +450,6 @@ static struct platform_driver lp_gpio_driver = {
.remove = lp_gpio_remove, .remove = lp_gpio_remove,
.driver = { .driver = {
.name = "lp_gpio", .name = "lp_gpio",
.owner = THIS_MODULE,
.pm = &lp_gpio_pm_ops, .pm = &lp_gpio_pm_ops,
.acpi_match_table = ACPI_PTR(lynxpoint_gpio_acpi_match), .acpi_match_table = ACPI_PTR(lynxpoint_gpio_acpi_match),
}, },
......
...@@ -145,7 +145,6 @@ static struct platform_driver ltq_mm_driver = { ...@@ -145,7 +145,6 @@ static struct platform_driver ltq_mm_driver = {
.probe = ltq_mm_probe, .probe = ltq_mm_probe,
.driver = { .driver = {
.name = "gpio-mm-ltq", .name = "gpio-mm-ltq",
.owner = THIS_MODULE,
.of_match_table = ltq_mm_match, .of_match_table = ltq_mm_match,
}, },
}; };
......
...@@ -142,7 +142,6 @@ static const struct of_device_id moxart_gpio_match[] = { ...@@ -142,7 +142,6 @@ static const struct of_device_id moxart_gpio_match[] = {
static struct platform_driver moxart_gpio_driver = { static struct platform_driver moxart_gpio_driver = {
.driver = { .driver = {
.name = "moxart-gpio", .name = "moxart-gpio",
.owner = THIS_MODULE,
.of_match_table = moxart_gpio_match, .of_match_table = moxart_gpio_match,
}, },
.probe = moxart_gpio_probe, .probe = moxart_gpio_probe,
......
...@@ -192,7 +192,6 @@ static const struct of_device_id mpc52xx_wkup_gpiochip_match[] = { ...@@ -192,7 +192,6 @@ static const struct of_device_id mpc52xx_wkup_gpiochip_match[] = {
static struct platform_driver mpc52xx_wkup_gpiochip_driver = { static struct platform_driver mpc52xx_wkup_gpiochip_driver = {
.driver = { .driver = {
.name = "mpc5200-gpio-wkup", .name = "mpc5200-gpio-wkup",
.owner = THIS_MODULE,
.of_match_table = mpc52xx_wkup_gpiochip_match, .of_match_table = mpc52xx_wkup_gpiochip_match,
}, },
.probe = mpc52xx_wkup_gpiochip_probe, .probe = mpc52xx_wkup_gpiochip_probe,
...@@ -347,7 +346,6 @@ static const struct of_device_id mpc52xx_simple_gpiochip_match[] = { ...@@ -347,7 +346,6 @@ static const struct of_device_id mpc52xx_simple_gpiochip_match[] = {
static struct platform_driver mpc52xx_simple_gpiochip_driver = { static struct platform_driver mpc52xx_simple_gpiochip_driver = {
.driver = { .driver = {
.name = "mpc5200-gpio", .name = "mpc5200-gpio",
.owner = THIS_MODULE,
.of_match_table = mpc52xx_simple_gpiochip_match, .of_match_table = mpc52xx_simple_gpiochip_match,
}, },
.probe = mpc52xx_simple_gpiochip_probe, .probe = mpc52xx_simple_gpiochip_probe,
......
...@@ -321,7 +321,6 @@ static int platform_msic_gpio_probe(struct platform_device *pdev) ...@@ -321,7 +321,6 @@ static int platform_msic_gpio_probe(struct platform_device *pdev)
static struct platform_driver platform_msic_gpio_driver = { static struct platform_driver platform_msic_gpio_driver = {
.driver = { .driver = {
.name = "msic_gpio", .name = "msic_gpio",
.owner = THIS_MODULE,
}, },
.probe = platform_msic_gpio_probe, .probe = platform_msic_gpio_probe,
}; };
......
...@@ -701,7 +701,6 @@ MODULE_DEVICE_TABLE(platform, gpio_msm_v1_device_ids); ...@@ -701,7 +701,6 @@ MODULE_DEVICE_TABLE(platform, gpio_msm_v1_device_ids);
static struct platform_driver gpio_msm_v1_driver = { static struct platform_driver gpio_msm_v1_driver = {
.driver = { .driver = {
.name = "gpio-msm-v1", .name = "gpio-msm-v1",
.owner = THIS_MODULE,
}, },
.probe = gpio_msm_v1_probe, .probe = gpio_msm_v1_probe,
.id_table = gpio_msm_v1_device_ids, .id_table = gpio_msm_v1_device_ids,
......
...@@ -450,7 +450,6 @@ static struct platform_driver msm_gpio_driver = { ...@@ -450,7 +450,6 @@ static struct platform_driver msm_gpio_driver = {
.remove = msm_gpio_remove, .remove = msm_gpio_remove,
.driver = { .driver = {
.name = "msmgpio", .name = "msmgpio",
.owner = THIS_MODULE,
.of_match_table = msm_gpio_of_match, .of_match_table = msm_gpio_of_match,
}, },
}; };
......
...@@ -731,7 +731,6 @@ static int mvebu_gpio_probe(struct platform_device *pdev) ...@@ -731,7 +731,6 @@ static int mvebu_gpio_probe(struct platform_device *pdev)
static struct platform_driver mvebu_gpio_driver = { static struct platform_driver mvebu_gpio_driver = {
.driver = { .driver = {
.name = "mvebu-gpio", .name = "mvebu-gpio",
.owner = THIS_MODULE,
.of_match_table = mvebu_gpio_of_match, .of_match_table = mvebu_gpio_of_match,
}, },
.probe = mvebu_gpio_probe, .probe = mvebu_gpio_probe,
......
...@@ -496,7 +496,6 @@ static int mxc_gpio_probe(struct platform_device *pdev) ...@@ -496,7 +496,6 @@ static int mxc_gpio_probe(struct platform_device *pdev)
static struct platform_driver mxc_gpio_driver = { static struct platform_driver mxc_gpio_driver = {
.driver = { .driver = {
.name = "gpio-mxc", .name = "gpio-mxc",
.owner = THIS_MODULE,
.of_match_table = mxc_gpio_dt_ids, .of_match_table = mxc_gpio_dt_ids,
}, },
.probe = mxc_gpio_probe, .probe = mxc_gpio_probe,
......
...@@ -338,7 +338,6 @@ static int mxs_gpio_probe(struct platform_device *pdev) ...@@ -338,7 +338,6 @@ static int mxs_gpio_probe(struct platform_device *pdev)
static struct platform_driver mxs_gpio_driver = { static struct platform_driver mxs_gpio_driver = {
.driver = { .driver = {
.name = "gpio-mxs", .name = "gpio-mxs",
.owner = THIS_MODULE,
.of_match_table = mxs_gpio_dt_ids, .of_match_table = mxs_gpio_dt_ids,
}, },
.probe = mxs_gpio_probe, .probe = mxs_gpio_probe,
......
...@@ -144,7 +144,6 @@ MODULE_DEVICE_TABLE(of, octeon_gpio_match); ...@@ -144,7 +144,6 @@ MODULE_DEVICE_TABLE(of, octeon_gpio_match);
static struct platform_driver octeon_gpio_driver = { static struct platform_driver octeon_gpio_driver = {
.driver = { .driver = {
.name = "octeon_gpio", .name = "octeon_gpio",
.owner = THIS_MODULE,
.of_match_table = octeon_gpio_match, .of_match_table = octeon_gpio_match,
}, },
.probe = octeon_gpio_probe, .probe = octeon_gpio_probe,
......
...@@ -155,7 +155,6 @@ static int rc5t583_gpio_remove(struct platform_device *pdev) ...@@ -155,7 +155,6 @@ static int rc5t583_gpio_remove(struct platform_device *pdev)
static struct platform_driver rc5t583_gpio_driver = { static struct platform_driver rc5t583_gpio_driver = {
.driver = { .driver = {
.name = "rc5t583-gpio", .name = "rc5t583-gpio",
.owner = THIS_MODULE,
}, },
.probe = rc5t583_gpio_probe, .probe = rc5t583_gpio_probe,
.remove = rc5t583_gpio_remove, .remove = rc5t583_gpio_remove,
......
...@@ -319,7 +319,6 @@ static int sch_gpio_remove(struct platform_device *pdev) ...@@ -319,7 +319,6 @@ static int sch_gpio_remove(struct platform_device *pdev)
static struct platform_driver sch_gpio_driver = { static struct platform_driver sch_gpio_driver = {
.driver = { .driver = {
.name = "sch_gpio", .name = "sch_gpio",
.owner = THIS_MODULE,
}, },
.probe = sch_gpio_probe, .probe = sch_gpio_probe,
.remove = sch_gpio_remove, .remove = sch_gpio_remove,
......
...@@ -191,7 +191,6 @@ MODULE_DEVICE_TABLE(of, spics_gpio_of_match); ...@@ -191,7 +191,6 @@ MODULE_DEVICE_TABLE(of, spics_gpio_of_match);
static struct platform_driver spics_gpio_driver = { static struct platform_driver spics_gpio_driver = {
.probe = spics_gpio_probe, .probe = spics_gpio_probe,
.driver = { .driver = {
.owner = THIS_MODULE,
.name = "spear-spics-gpio", .name = "spear-spics-gpio",
.of_match_table = spics_gpio_of_match, .of_match_table = spics_gpio_of_match,
}, },
......
...@@ -429,7 +429,6 @@ static int gsta_probe(struct platform_device *dev) ...@@ -429,7 +429,6 @@ static int gsta_probe(struct platform_device *dev)
static struct platform_driver sta2x11_gpio_platform_driver = { static struct platform_driver sta2x11_gpio_platform_driver = {
.driver = { .driver = {
.name = "sta2x11-gpio", .name = "sta2x11-gpio",
.owner = THIS_MODULE,
}, },
.probe = gsta_probe, .probe = gsta_probe,
}; };
......
...@@ -287,7 +287,6 @@ static struct platform_driver xway_stp_driver = { ...@@ -287,7 +287,6 @@ static struct platform_driver xway_stp_driver = {
.probe = xway_stp_probe, .probe = xway_stp_probe,
.driver = { .driver = {
.name = "gpio-stp-xway", .name = "gpio-stp-xway",
.owner = THIS_MODULE,
.of_match_table = xway_stp_match, .of_match_table = xway_stp_match,
}, },
}; };
......
...@@ -253,7 +253,6 @@ static int syscon_gpio_remove(struct platform_device *pdev) ...@@ -253,7 +253,6 @@ static int syscon_gpio_remove(struct platform_device *pdev)
static struct platform_driver syscon_gpio_driver = { static struct platform_driver syscon_gpio_driver = {
.driver = { .driver = {
.name = "gpio-syscon", .name = "gpio-syscon",
.owner = THIS_MODULE,
.of_match_table = syscon_gpio_ids, .of_match_table = syscon_gpio_ids,
}, },
.probe = syscon_gpio_probe, .probe = syscon_gpio_probe,
......
...@@ -316,7 +316,6 @@ static struct platform_driver tb10x_gpio_driver = { ...@@ -316,7 +316,6 @@ static struct platform_driver tb10x_gpio_driver = {
.driver = { .driver = {
.name = "tb10x-gpio", .name = "tb10x-gpio",
.of_match_table = tb10x_gpio_dt_ids, .of_match_table = tb10x_gpio_dt_ids,
.owner = THIS_MODULE,
} }
}; };
......
...@@ -528,7 +528,6 @@ static int tegra_gpio_probe(struct platform_device *pdev) ...@@ -528,7 +528,6 @@ static int tegra_gpio_probe(struct platform_device *pdev)
static struct platform_driver tegra_gpio_driver = { static struct platform_driver tegra_gpio_driver = {
.driver = { .driver = {
.name = "tegra-gpio", .name = "tegra-gpio",
.owner = THIS_MODULE,
.pm = &tegra_gpio_pm_ops, .pm = &tegra_gpio_pm_ops,
.of_match_table = tegra_gpio_of_match, .of_match_table = tegra_gpio_of_match,
}, },
......
...@@ -330,7 +330,6 @@ static int timbgpio_remove(struct platform_device *pdev) ...@@ -330,7 +330,6 @@ static int timbgpio_remove(struct platform_device *pdev)
static struct platform_driver timbgpio_platform_driver = { static struct platform_driver timbgpio_platform_driver = {
.driver = { .driver = {
.name = DRIVER_NAME, .name = DRIVER_NAME,
.owner = THIS_MODULE,
}, },
.probe = timbgpio_probe, .probe = timbgpio_probe,
.remove = timbgpio_remove, .remove = timbgpio_remove,
......
...@@ -124,7 +124,6 @@ static int tps65912_gpio_remove(struct platform_device *pdev) ...@@ -124,7 +124,6 @@ static int tps65912_gpio_remove(struct platform_device *pdev)
static struct platform_driver tps65912_gpio_driver = { static struct platform_driver tps65912_gpio_driver = {
.driver = { .driver = {
.name = "tps65912-gpio", .name = "tps65912-gpio",
.owner = THIS_MODULE,
}, },
.probe = tps65912_gpio_probe, .probe = tps65912_gpio_probe,
.remove = tps65912_gpio_remove, .remove = tps65912_gpio_remove,
......
...@@ -452,7 +452,6 @@ MODULE_DEVICE_TABLE(platform, ts5500_dio_ids); ...@@ -452,7 +452,6 @@ MODULE_DEVICE_TABLE(platform, ts5500_dio_ids);
static struct platform_driver ts5500_dio_driver = { static struct platform_driver ts5500_dio_driver = {
.driver = { .driver = {
.name = "ts5500-dio", .name = "ts5500-dio",
.owner = THIS_MODULE,
}, },
.probe = ts5500_dio_probe, .probe = ts5500_dio_probe,
.remove = ts5500_dio_remove, .remove = ts5500_dio_remove,
......
...@@ -605,7 +605,6 @@ MODULE_ALIAS("platform:twl4030_gpio"); ...@@ -605,7 +605,6 @@ MODULE_ALIAS("platform:twl4030_gpio");
static struct platform_driver gpio_twl4030_driver = { static struct platform_driver gpio_twl4030_driver = {
.driver = { .driver = {
.name = "twl4030_gpio", .name = "twl4030_gpio",
.owner = THIS_MODULE,
.of_match_table = twl_gpio_match, .of_match_table = twl_gpio_match,
}, },
.probe = gpio_twl4030_probe, .probe = gpio_twl4030_probe,
......
...@@ -121,7 +121,6 @@ MODULE_ALIAS("platform:twl6040-gpo"); ...@@ -121,7 +121,6 @@ MODULE_ALIAS("platform:twl6040-gpo");
static struct platform_driver gpo_twl6040_driver = { static struct platform_driver gpo_twl6040_driver = {
.driver = { .driver = {
.name = "twl6040-gpo", .name = "twl6040-gpo",
.owner = THIS_MODULE,
}, },
.probe = gpo_twl6040_probe, .probe = gpo_twl6040_probe,
.remove = gpo_twl6040_remove, .remove = gpo_twl6040_remove,
......
...@@ -230,7 +230,6 @@ static struct of_device_id tz1090_pdc_gpio_of_match[] = { ...@@ -230,7 +230,6 @@ static struct of_device_id tz1090_pdc_gpio_of_match[] = {
static struct platform_driver tz1090_pdc_gpio_driver = { static struct platform_driver tz1090_pdc_gpio_driver = {
.driver = { .driver = {
.name = "tz1090-pdc-gpio", .name = "tz1090-pdc-gpio",
.owner = THIS_MODULE,
.of_match_table = tz1090_pdc_gpio_of_match, .of_match_table = tz1090_pdc_gpio_of_match,
}, },
.probe = tz1090_pdc_gpio_probe, .probe = tz1090_pdc_gpio_probe,
......
...@@ -593,7 +593,6 @@ static struct of_device_id tz1090_gpio_of_match[] = { ...@@ -593,7 +593,6 @@ static struct of_device_id tz1090_gpio_of_match[] = {
static struct platform_driver tz1090_gpio_driver = { static struct platform_driver tz1090_gpio_driver = {
.driver = { .driver = {
.name = "tz1090-gpio", .name = "tz1090-gpio",
.owner = THIS_MODULE,
.of_match_table = tz1090_gpio_of_match, .of_match_table = tz1090_gpio_of_match,
}, },
.probe = tz1090_gpio_probe, .probe = tz1090_gpio_probe,
......
...@@ -591,7 +591,6 @@ static struct platform_driver giu_device_driver = { ...@@ -591,7 +591,6 @@ static struct platform_driver giu_device_driver = {
.remove = giu_remove, .remove = giu_remove,
.driver = { .driver = {
.name = "GIU", .name = "GIU",
.owner = THIS_MODULE,
}, },
}; };
......
...@@ -306,7 +306,6 @@ static int vx855gpio_remove(struct platform_device *pdev) ...@@ -306,7 +306,6 @@ static int vx855gpio_remove(struct platform_device *pdev)
static struct platform_driver vx855gpio_driver = { static struct platform_driver vx855gpio_driver = {
.driver = { .driver = {
.name = MODULE_NAME, .name = MODULE_NAME,
.owner = THIS_MODULE,
}, },
.probe = vx855gpio_probe, .probe = vx855gpio_probe,
.remove = vx855gpio_remove, .remove = vx855gpio_remove,
......
...@@ -229,7 +229,6 @@ MODULE_DEVICE_TABLE(of, xgene_gpio_of_match); ...@@ -229,7 +229,6 @@ MODULE_DEVICE_TABLE(of, xgene_gpio_of_match);
static struct platform_driver xgene_gpio_driver = { static struct platform_driver xgene_gpio_driver = {
.driver = { .driver = {
.name = "xgene-gpio", .name = "xgene-gpio",
.owner = THIS_MODULE,
.of_match_table = xgene_gpio_of_match, .of_match_table = xgene_gpio_of_match,
.pm = XGENE_GPIO_PM_OPS, .pm = XGENE_GPIO_PM_OPS,
}, },
......
...@@ -157,7 +157,6 @@ static int xtensa_gpio_probe(struct platform_device *pdev) ...@@ -157,7 +157,6 @@ static int xtensa_gpio_probe(struct platform_device *pdev)
static struct platform_driver xtensa_gpio_driver = { static struct platform_driver xtensa_gpio_driver = {
.driver = { .driver = {
.name = "xtensa-gpio", .name = "xtensa-gpio",
.owner = THIS_MODULE,
}, },
.probe = xtensa_gpio_probe, .probe = xtensa_gpio_probe,
}; };
......
...@@ -212,7 +212,6 @@ MODULE_DEVICE_TABLE(of, zevio_gpio_of_match); ...@@ -212,7 +212,6 @@ MODULE_DEVICE_TABLE(of, zevio_gpio_of_match);
static struct platform_driver zevio_gpio_driver = { static struct platform_driver zevio_gpio_driver = {
.driver = { .driver = {
.name = "gpio-zevio", .name = "gpio-zevio",
.owner = THIS_MODULE,
.of_match_table = zevio_gpio_of_match, .of_match_table = zevio_gpio_of_match,
}, },
.probe = zevio_gpio_probe, .probe = zevio_gpio_probe,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment