Skip to content
Commit 44759592 authored by Maureen Helm's avatar Maureen Helm Committed by Ioannis Glaropoulos
Browse files

drivers: sensor: Check i2c device pointer is non-null in bq274xx



Fixes the bq274xx sensor driver to check the i2c device pointer is
non-null, rather than the bq274xx sensor device pointer. This appears to
be the originally intended check based on the LOG_ERR message.

Coverity CID: 210035

Signed-off-by: default avatarMaureen Helm <maureen.helm@nxp.com>
parent 189ae8c8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment