diff options
author | Brandon Maier <brandon.maier@rockwellcollins.com> | 2019-02-07 15:50:36 -0600 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2019-02-18 14:23:29 -0800 |
commit | 45034e48276c310bf4d4c7d7110169756d4a6265 (patch) | |
tree | 8a9f3b8d8434b6c39b61a9b585a3f9da0bd39b24 /drivers/hwmon/Kconfig | |
parent | e9b95485c12c31e07dbb1694e794f18565144099 (diff) | |
download | linux-45034e48276c310bf4d4c7d7110169756d4a6265.tar.bz2 |
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: Brandon Maier <brandon.maier@rockwellcollins.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/Kconfig')
0 files changed, 0 insertions, 0 deletions