summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand
diff options
context:
space:
mode:
authorFrans Klaver <fransklaver@gmail.com>2015-06-10 23:38:42 +0300
committerBrian Norris <computersforpeace@gmail.com>2015-10-13 22:56:29 +0300
commitfbe1a8bf125214807f1062707fc4097721c3c995 (patch)
treea5a585daacdde89bf66ec9ed1383ad0ea65dc61e /drivers/mtd/nand
parent6a44d420b53e7ab742373bb0c3ee36e75c13faee (diff)
downloadlinux-fbe1a8bf125214807f1062707fc4097721c3c995.tar.xz
mtd: nand: denali: drop owner assignment
Owner is automatically set by mtdcore. Make use of that. Signed-off-by: Frans Klaver <fransklaver@gmail.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/nand')
-rw-r--r--drivers/mtd/nand/denali.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/nand/denali.c b/drivers/mtd/nand/denali.c
index 43c0771c587c..0db16ef5604f 100644
--- a/drivers/mtd/nand/denali.c
+++ b/drivers/mtd/nand/denali.c
@@ -1463,7 +1463,6 @@ int denali_init(struct denali_nand_info *denali)
/* now that our ISR is registered, we can enable interrupts */
denali_set_intr_modes(denali, true);
denali->mtd.name = "denali-nand";
- denali->mtd.owner = THIS_MODULE;
denali->mtd.priv = &denali->nand;
/* register the driver with the NAND core subsystem */