Skip to content
Commit 2d7ae8b2 authored by Murtaza Alexandru's avatar Murtaza Alexandru Committed by Anas Nashif
Browse files

sensor: migrate all drivers to new error code standard



Check if return value is negative when checking for errors, instead of
checking if it's 0.

Change-Id: I0b0af28c02b3760f3128e8cbe48908dabc89af88
Signed-off-by: default avatarMurtaza Alexandru <alexandru.murtaza@intel.com>
parent df20e3e4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment