[PATCH 28/60] mtd: nand: denali: drop owner assignment
Frans Klaver
fransklaver at gmail.com
Tue Mar 3 13:40:12 PST 2015
Owner is automatically set by mtdcore. Make use of that.
Signed-off-by: Frans Klaver <fransklaver at gmail.com>
---
drivers/mtd/nand/denali.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mtd/nand/denali.c b/drivers/mtd/nand/denali.c
index f44c606..16e61de 100644
--- a/drivers/mtd/nand/denali.c
+++ b/drivers/mtd/nand/denali.c
@@ -1457,7 +1457,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 */
--
2.2.2
More information about the linux-mtd
mailing list