Commit fbe1a8bf authored by Frans Klaver's avatar Frans Klaver Committed by Brian Norris

mtd: nand: denali: drop owner assignment

Owner is automatically set by mtdcore. Make use of that.
Signed-off-by: default avatarFrans Klaver <fransklaver@gmail.com>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent 6a44d420
...@@ -1463,7 +1463,6 @@ int denali_init(struct denali_nand_info *denali) ...@@ -1463,7 +1463,6 @@ int denali_init(struct denali_nand_info *denali)
/* now that our ISR is registered, we can enable interrupts */ /* now that our ISR is registered, we can enable interrupts */
denali_set_intr_modes(denali, true); denali_set_intr_modes(denali, true);
denali->mtd.name = "denali-nand"; denali->mtd.name = "denali-nand";
denali->mtd.owner = THIS_MODULE;
denali->mtd.priv = &denali->nand; denali->mtd.priv = &denali->nand;
/* register the driver with the NAND core subsystem */ /* register the driver with the NAND core subsystem */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment