OSDN Git Service

mtd: devices: docg3: show parent device in sysfs
authorFrans Klaver <fransklaver@gmail.com>
Wed, 10 Jun 2015 20:38:18 +0000 (22:38 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 13 Oct 2015 16:21:14 +0000 (09:21 -0700)
commit1560d2132ae95b36b25cc78811af8eaf9bbb2f8e
tree84562340fd79f5a27fdea7af018938ed287e7340
parenteb98198f23d0c6a77afe692b25e8ad634f0404c5
mtd: devices: docg3: 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/devices/docg3.c