mtd: nand: pasemi_nand: show parent device in sysfs
authorFrans Klaver <fransklaver@gmail.com>
Wed, 10 Jun 2015 20:38:59 +0000 (22:38 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 13 Oct 2015 19:56:39 +0000 (12:56 -0700)
commit9e86508f3e538d13c879c7c48a5eecb0509aade6
treef93d1ef5154340d7c8feb086bb054e0231edb0ed
parent5c5594c92d2300cc955acd5537e782fbf372caa2
mtd: nand: pasemi_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 value set by mtdcore.

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