
13 Jun
2017
13 Jun
'17
12:43 a.m.
On Wed, Jun 07, 2017 at 10:28:43AM -0600, Simon Glass wrote:
We know that uclass_get_device() does not return NULL for dev when it 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: 163247) Fixes: 0753bc2 (dm: Simple Watchdog uclass)
Reviewed-by: Tom Rini trini@konsulko.com
--
Tom