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: 161690)
Fixes: 43b4156
(dm: sandbox: pwm: Add a basic pwm test)
master
parent
5025897774
commit
1a596c44c0
Loading…
Reference in new issue