mirror of https://gitee.com/openkylin/linux.git
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:
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 */
|
||||
|
|
Loading…
Reference in New Issue