diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:20:57 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:20:57 +0200 |
commit | fe5e48259137661a7e07c97a931b4f6aba52ed1e (patch) | |
tree | 87b1949d9edbc4fe38a3580b24b300b94b40d991 /drivers/mtd/maps/sun_uflash.c | |
parent | mtd: devices: drop owner assignment from platform_drivers (diff) | |
download | linux-fe5e48259137661a7e07c97a931b4f6aba52ed1e.tar.xz linux-fe5e48259137661a7e07c97a931b4f6aba52ed1e.zip |
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/sun_uflash.c')
-rw-r--r-- | drivers/mtd/maps/sun_uflash.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/maps/sun_uflash.c b/drivers/mtd/maps/sun_uflash.c index b6f1aac3510c..d459aca07881 100644 --- a/drivers/mtd/maps/sun_uflash.c +++ b/drivers/mtd/maps/sun_uflash.c @@ -150,7 +150,6 @@ MODULE_DEVICE_TABLE(of, uflash_match); static struct platform_driver uflash_driver = { .driver = { .name = DRIVER_NAME, - .owner = THIS_MODULE, .of_match_table = uflash_match, }, .probe = uflash_probe, |