mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-28 07:13:34 +00: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:
parent
6a44d420b5
commit
fbe1a8bf12
1 changed files with 0 additions and 1 deletions
|
@ -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 a new issue