of: of_find_node_by_devpath: Fix offset in mtd devices
When a cdev is a mtd device the partition offset must be used from there, not from the cdev. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> |
---|
|
drivers/of/of_path.c |
---|