mtd: maps: latch-addr-flash: show parent device in sysfs
authorFrans Klaver <fransklaver@gmail.com>
Wed, 10 Jun 2015 20:38:29 +0000 (22:38 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 13 Oct 2015 19:56:21 +0000 (12:56 -0700)
commitab4a6b4938f74f66fae187fd9e5ba5fe8a7836c6
treea0516c78d8ad03a9113a9ccd90dc7b76660adc59
parentc54c2fb783e2ae6636344de690891bc93c077530
mtd: maps: latch-addr-flash: show parent device in sysfs

Fix a bug where mtd 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/maps/latch-addr-flash.c