state: backend: support phandle and of_path references
This patch improves the backend property, it can be either a phandle or a
of_path. During probe() of the state driver the backend property is
dereferenced and the resulting of_path is saved in the state context. In a
later patch it will be used to generate a phandle reference to the backend
during DT fixup.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 74840eb commit 65a8f2f8f1066b589560b1f09f3ae1da485335eb
@Marc Kleine-Budde Marc Kleine-Budde authored on 13 May 2015
Sascha Hauer committed on 15 May 2015
Showing 3 changed files
View
common/state.c
View
drivers/misc/state.c
View
include/state.h