Simon Glass 4f414d392f test: bus: Add a check that dev is not NULL
We know that uclass_get_device() and device_find_child_by_of_offset() do
not return NULL for dev when they succeeds but coverity does not. Add an
extra check to hopefully keep it happy.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reported-by: Coverity (CID: 163246)
Fixes: 0753bc2 (dm: Simple Watchdog uclass)
2017-06-12 08:38:10 -04:00
..
2015-11-02 10:38:00 +09:00
2017-04-04 20:15:10 -06:00
2016-06-03 22:14:20 -07:00
2017-04-14 19:38:57 -06:00
2016-05-26 20:48:31 -06:00
2016-05-17 09:54:43 -06:00
2015-07-21 17:39:32 -06:00
2015-07-21 17:39:33 -06:00
2016-06-19 17:05:55 -06:00
2015-05-21 09:16:16 -04:00
2015-05-21 09:16:16 -04:00
2016-04-01 17:18:12 -04:00
2016-05-26 20:48:31 -06:00
2016-03-14 15:34:50 -06:00