Currently the device update function does not care the I2C SMBus error.
This causes a spurious sensor warining detection by sensor application.
To prevent this isseu add error handling for the update function.

Signed-off-by: Tokunori Ikegami <[email protected]>
Cc: Chris Packham <[email protected]>
Cc: [email protected]

Tokunori Ikegami (5):
  hwmon: adt7475: Split device update function to measure and limits
  hwmon: adt7475: Change read and write functions to return error
  hwmon: adt7475: Change to use adt7475_read macro
  hwmon: adt7475: Change to use adt7475_write macro
  hwmon: adt7475: Change update functions to add error handling

 drivers/hwmon/adt7475.c | 369 +++++++++++++++++++++++++++++++++---------------
 1 file changed, 257 insertions(+), 112 deletions(-)

-- 
2.16.1

--
To unsubscribe from this list: send the line "unsubscribe linux-hwmon" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to