mtd: maps: sa1100-flash: show parent device in sysfs
authorFrans Klaver <fransklaver@gmail.com>
Wed, 10 Jun 2015 20:38:35 +0000 (22:38 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 13 Oct 2015 19:56:24 +0000 (12:56 -0700)
commit72169755cf36ce28bed83d6742d28ce4157f7538
tree469ec5e11af7c3feba56618e2df8f1c1fe41be95
parent9aa7e50276c17d0658f1035ffe3480085f2a7471
mtd: maps: sa1100-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.
Incidentally, it seems the owner field in the concatenated mtds is not
actually used, so this shouldn't make much of a difference anyway.

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