mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 12:33:18 -04:00
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>
This commit is contained in:
committed by
Brian Norris
parent
6a44d420b5
commit
fbe1a8bf12
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user