diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 18:20:57 +0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 18:20:57 +0400 |
commit | fe5e48259137661a7e07c97a931b4f6aba52ed1e (patch) | |
tree | 87b1949d9edbc4fe38a3580b24b300b94b40d991 /drivers/mtd/maps/pxa2xx-flash.c | |
parent | c37c1e160546eca3f0612bf9a541667af4f5d71b (diff) | |
download | linux-fe5e48259137661a7e07c97a931b4f6aba52ed1e.tar.xz |
mtd: maps: 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/mtd/maps/pxa2xx-flash.c')
-rw-r--r-- | drivers/mtd/maps/pxa2xx-flash.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/maps/pxa2xx-flash.c b/drivers/mtd/maps/pxa2xx-flash.c index cb4d92eea9fe..12fa75df5008 100644 --- a/drivers/mtd/maps/pxa2xx-flash.c +++ b/drivers/mtd/maps/pxa2xx-flash.c @@ -131,7 +131,6 @@ static void pxa2xx_flash_shutdown(struct platform_device *dev) static struct platform_driver pxa2xx_flash_driver = { .driver = { .name = "pxa2xx-flash", - .owner = THIS_MODULE, }, .probe = pxa2xx_flash_probe, .remove = pxa2xx_flash_remove, |