state: find backend node with its reproducible name
When fixing up the kernels state nodes we depended on the full node path
of the input device tree. This does not work when the kernel device tree
has different names. This has happened lately when the i.MX6 device
trees got their leading zeroes removed from the node names.

Use of_find_node_by_reproducible_name() to find the node corresponding
to the storage backend node in the kernel device tree.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent a66a8d7 commit 1eddb0d3821d7bb368fa6b092b980b89fc47db28
@Sascha Hauer Sascha Hauer authored on 20 Feb 2018
Showing 2 changed files
View
common/state/state.c
View
common/state/state.h