diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2016-10-20 09:27:41 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-10-20 09:31:11 +0200 |
commit | 70af08d8634c00e9593a4407b86a303246791cfb (patch) | |
tree | c9232411ae7ea8a2789d3707f3c647e19fd36902 /drivers/of | |
parent | 8099956f6a99fbedc9a81ef5e3f480b9bc4e9424 (diff) | |
download | barebox-70af08d8634c00e9593a4407b86a303246791cfb.tar.gz barebox-70af08d8634c00e9593a4407b86a303246791cfb.tar.xz |
state: driver: handle EPROBE_DEFER
When state_new_from_node() returns -ENODEV that means that there
is no device available for the node, so return -EPROBE_DEFER in this
case and hope a device is there later.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/of')
0 files changed, 0 insertions, 0 deletions