summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/pasemi_nand.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:58 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:20:58 +0200
commit5cfb36ebf4780ee9a9694f6f43ecaf3fc4a13409 (patch)
tree4c3bcf73850106b65333a0c14ed54267ac80c060 /drivers/mtd/nand/pasemi_nand.c
parentfe5e48259137661a7e07c97a931b4f6aba52ed1e (diff)
downloadop-kernel-dev-5cfb36ebf4780ee9a9694f6f43ecaf3fc4a13409.zip
op-kernel-dev-5cfb36ebf4780ee9a9694f6f43ecaf3fc4a13409.tar.gz
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/pasemi_nand.c')
-rw-r--r--drivers/mtd/nand/pasemi_nand.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/nand/pasemi_nand.c b/drivers/mtd/nand/pasemi_nand.c
index 2c98f9d..66c345b 100644
--- a/drivers/mtd/nand/pasemi_nand.c
+++ b/drivers/mtd/nand/pasemi_nand.c
@@ -223,7 +223,6 @@ static struct platform_driver pasemi_nand_driver =
{
.driver = {
.name = driver_name,
- .owner = THIS_MODULE,
.of_match_table = pasemi_nand_match,
},
.probe = pasemi_nand_probe,
OpenPOWER on IntegriCloud