mtd: nand: denali: drop owner assignment
authorFrans Klaver <fransklaver@gmail.com>
Wed, 10 Jun 2015 20:38:42 +0000 (22:38 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 13 Oct 2015 19:56:29 +0000 (12:56 -0700)
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>
drivers/mtd/nand/denali.c

index 43c0771c587cfb53531d77f6e42a00e0ac51ab23..0db16ef5604fba26e9cb44af68d19ad667ad359f 100644 (file)
@@ -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 */