commit | 680e932d1a0db79991e3bc683be57fefa4e95c1b | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Jun 07 10:28:38 2017 -0600 |
committer | Tom Rini <trini@konsulko.com> | Mon Jun 12 08:38:06 2017 -0400 |
tree | 1f5910e49915ee939de3e01145af83cfd0f7cbd3 | |
parent | d4def9bb2348db4fb4a38a7e785538e3d4b99acc [diff] |
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)