mtd: nand: plat_nand: show parent device in sysfs
authorFrans Klaver <fransklaver@gmail.com>
Wed, 10 Jun 2015 20:39:00 +0000 (22:39 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 13 Oct 2015 19:56:34 +0000 (12:56 -0700)
commitf0aa200ceb4f1bce6826d1c24b5c416a6a8b9faf
treeac173affcaa67c9584a68d6e41bd0f2b14a3893c
parent84630994fab634baa0250fbd16537f74c8bdbb07
mtd: nand: plat_nand: show parent device in sysfs

Fix a bug where parent device symlinks aren't shown in sysfs.

While at it, make use of the default owner and name set by mtdcore.

Signed-off-by: Frans Klaver <fransklaver@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/plat_nand.c