]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: nand: omap2: show parent device structure in sysfs
authorFrans Klaver <fransklaver@gmail.com>
Wed, 10 Jun 2015 20:38:57 +0000 (22:38 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 13 Oct 2015 19:56:41 +0000 (12:56 -0700)
commit853f1c58c4b2a6f1ec81c335c82d0252b387ab1e
treee12b0ad2a36861729b89217a6338138c80014fd7
parent61344d074f4f924cf35aeee445568d9b7750d915
mtd: nand: omap2: show parent device structure in sysfs

Make sure the device structure is properly shown in sysfs by properly
filling in dev.parent.

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

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