Skip to content
Commit 710f9a22 authored by Sergio Rodriguez's avatar Sergio Rodriguez
Browse files

samples: drivers: led_apa102c: Exit from testcase if device not found



Exiting from the test case when the gpio device is not found, this
to avoid a null pointer dereference.

This issue was reported by Coverity

Coverity-CID: 151980

Change-Id: I7aafbc993674c8874a16b5a9213108f5769114ec
Signed-off-by: default avatarSergio Rodriguez <sergio.sf.rodriguez@intel.com>
parent a3db0d13
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment