Helper code to probe mtd partitions from the devicetree. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>