Simon Glass 532f2435cf syscon: Avoid returning a device on failure
If the device cannot be probed, syscon_get_by_driver_data() will still
return a useful value in its devp parameter. Ensure that it returns NULL
instead.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2016-03-17 10:27:24 +08:00
..
2015-11-02 10:38:00 +09:00
2016-02-06 12:00:59 +01:00
2016-01-27 15:32:05 +01:00
2016-03-14 19:21:44 -04:00
2016-03-15 15:13:05 -04:00
2016-02-05 12:47:21 +08:00
2016-03-17 10:27:23 +08:00
2016-03-15 15:12:56 -04:00
2016-02-06 12:00:59 +01:00
2016-03-14 19:21:44 -04:00
2016-01-21 20:42:36 -07:00