mtd: Add partition device node to mtd partition devices
authorSascha Hauer <s.hauer@pengutronix.de>
Thu, 9 Feb 2017 10:50:24 +0000 (11:50 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 10 Feb 2017 03:19:25 +0000 (19:19 -0800)
commit42e9401bd1467d22c4dc4d2c637347b874e6a80b
tree580acad041fd8c108c1ae7396817aa77b0584771
parent89a0d9a9f1941a086a82bc7cd73d275cec98ba14
mtd: Add partition device node to mtd partition devices

The user visible change here is that mtd partitions get an of_node link
in sysfs.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/mtdpart.c
drivers/mtd/ofpart.c
include/linux/mtd/partitions.h