diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 14:20:58 (GMT) |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-10-20 14:20:58 (GMT) |
commit | 5cfb36ebf4780ee9a9694f6f43ecaf3fc4a13409 (patch) | |
tree | 4c3bcf73850106b65333a0c14ed54267ac80c060 /drivers/mtd/nand/plat_nand.c | |
parent | fe5e48259137661a7e07c97a931b4f6aba52ed1e (diff) | |
download | linux-5cfb36ebf4780ee9a9694f6f43ecaf3fc4a13409.tar.xz |
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/plat_nand.c')
-rw-r--r-- | drivers/mtd/nand/plat_nand.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/nand/plat_nand.c b/drivers/mtd/nand/plat_nand.c index 0b068a5..4535c26 100644 --- a/drivers/mtd/nand/plat_nand.c +++ b/drivers/mtd/nand/plat_nand.c @@ -138,7 +138,6 @@ static struct platform_driver plat_nand_driver = { .remove = plat_nand_remove, .driver = { .name = "gen_nand", - .owner = THIS_MODULE, .of_match_table = plat_nand_match, }, }; |