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/physmap_of.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/physmap_of.c')
-rw-r--r-- | drivers/mtd/maps/physmap_of.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/maps/physmap_of.c b/drivers/mtd/maps/physmap_of.c index c1d21cb501ca..991d0cb871f0 100644 --- a/drivers/mtd/maps/physmap_of.c +++ b/drivers/mtd/maps/physmap_of.c @@ -354,7 +354,6 @@ MODULE_DEVICE_TABLE(of, of_flash_match); static struct platform_driver of_flash_driver = { .driver = { .name = "of-flash", - .owner = THIS_MODULE, .of_match_table = of_flash_match, }, .probe = of_flash_probe, |