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>
This commit is contained in:
Sascha Hauer 2017-02-09 11:50:24 +01:00 • committed by Brian Norris
commit 42e9401bd1
3 changed files with 3 additions and 0 deletions