Home
last modified time | relevance | path

Searched hist:"1 a596c44c0967b3191ee278f988d14d6082249e1" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/test/dm/
H A Dpwm.c1a596c44c0967b3191ee278f988d14d6082249e1 Wed Jun 07 16:28:38 UTC 2017 Simon Glass <sjg@chromium.org> test: pwm: Add a check that dev is not NULL

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)