Skip to content
Commit 45034e48 authored by Brandon Maier's avatar Brandon Maier Committed by Guenter Roeck
Browse files

hwmon: (ad7418) Catch I2C errors



If there is an i2c failure, the ad7416 reports its temperature as 0C.
Return an error code so users can properly detect errors.

Signed-off-by: default avatarBrandon Maier <brandon.maier@rockwellcollins.com>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent e9b95485
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment