aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/omap_cf.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:21 -0400
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 10:21:21 -0400
commit735fc3ec3434dd71c3846766a857812571c79925 (patch)
tree943598495e986872c218943229888121ae8c9660 /drivers/pcmcia/omap_cf.c
parente27a5130ab647aec2a70b800a690736d5b258007 (diff)
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>
Diffstat (limited to 'drivers/pcmcia/omap_cf.c')
-rw-r--r--drivers/pcmcia/omap_cf.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pcmcia/omap_cf.c b/drivers/pcmcia/omap_cf.c
index 25c4b1993b3d..8170102d1e93 100644
--- a/drivers/pcmcia/omap_cf.c
+++ b/drivers/pcmcia/omap_cf.c
@@ -334,7 +334,6 @@ static int __exit omap_cf_remove(struct platform_device *pdev)
334static struct platform_driver omap_cf_driver = { 334static struct platform_driver omap_cf_driver = {
335 .driver = { 335 .driver = {
336 .name = (char *) driver_name, 336 .name = (char *) driver_name,
337 .owner = THIS_MODULE,
338 }, 337 },
339 .remove = __exit_p(omap_cf_remove), 338 .remove = __exit_p(omap_cf_remove),
340}; 339};