diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:20:58 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 16:20:58 +0200 |
commit | 5cfb36ebf4780ee9a9694f6f43ecaf3fc4a13409 (patch) | |
tree | 4c3bcf73850106b65333a0c14ed54267ac80c060 /drivers/mtd/nand/omap_elm.c | |
parent | mtd: maps: drop owner assignment from platform_drivers (diff) | |
download | linux-5cfb36ebf4780ee9a9694f6f43ecaf3fc4a13409.tar.xz linux-5cfb36ebf4780ee9a9694f6f43ecaf3fc4a13409.zip |
mtd: nand: 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/nand/omap_elm.c')
-rw-r--r-- | drivers/mtd/nand/omap_elm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/nand/omap_elm.c b/drivers/mtd/nand/omap_elm.c index b4f61c7fc161..f73fbeaaeb7a 100644 --- a/drivers/mtd/nand/omap_elm.c +++ b/drivers/mtd/nand/omap_elm.c @@ -563,7 +563,6 @@ MODULE_DEVICE_TABLE(of, elm_of_match); static struct platform_driver elm_driver = { .driver = { .name = DRIVER_NAME, - .owner = THIS_MODULE, .of_match_table = of_match_ptr(elm_of_match), .pm = &elm_pm_ops, }, |