diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:20:58 -0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 10:20:58 -0400 |
commit | 5cfb36ebf4780ee9a9694f6f43ecaf3fc4a13409 (patch) | |
tree | 4c3bcf73850106b65333a0c14ed54267ac80c060 /drivers/mtd/nand/omap2.c | |
parent | fe5e48259137661a7e07c97a931b4f6aba52ed1e (diff) |
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/omap2.c')
-rw-r--r-- | drivers/mtd/nand/omap2.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/nand/omap2.c b/drivers/mtd/nand/omap2.c index 3b357e920a0c..6d74b56dd9f6 100644 --- a/drivers/mtd/nand/omap2.c +++ b/drivers/mtd/nand/omap2.c | |||
@@ -2095,7 +2095,6 @@ static struct platform_driver omap_nand_driver = { | |||
2095 | .remove = omap_nand_remove, | 2095 | .remove = omap_nand_remove, |
2096 | .driver = { | 2096 | .driver = { |
2097 | .name = DRIVER_NAME, | 2097 | .name = DRIVER_NAME, |
2098 | .owner = THIS_MODULE, | ||
2099 | }, | 2098 | }, |
2100 | }; | 2099 | }; |
2101 | 2100 | ||