mtd: nand: jz4740_nand: show parent device in sysfs
authorFrans Klaver <fransklaver@gmail.com>
Wed, 10 Jun 2015 20:38:51 +0000 (22:38 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 13 Oct 2015 19:56:48 +0000 (12:56 -0700)
commit249eab698068f51c477c9ca55c59c8965025f1dd
treeedbb3ec508655a332a4d060d338c052b357ba7a5
parent50c65c8ffa4fd08926e671f0c4d9702bfc29c4e2
mtd: nand: jz4740_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/jz4740_nand.c