mtd: onenand: generic: show parent device in sysfs
authorFrans Klaver <fransklaver@gmail.com>
Wed, 10 Jun 2015 20:39:10 +0000 (22:39 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 13 Oct 2015 19:56:37 +0000 (12:56 -0700)
commitfe003bc8311f3797b802361dbb6465e13dd43a7f
treeefc9ed561a376e12288c7bfa7296f8a48088259c
parent7b679053cd3348fb8efdd07ce39c4e2e2ad46620
mtd: onenand: generic: show parent device in sysfs

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

While at it, take advantage 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/onenand/generic.c