Skip to content
Commit 3499e5b2 authored by Sachin Kamat's avatar Sachin Kamat Committed by Guenter Roeck
Browse files

hwmon: (amc6821) Fix return value



Propagate return value obtained from i2c_smbus_read_byte_data()
instead of hardcoding.

Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Cc: T. Mertelj <tomaz.mertelj@guest.arnes.si>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 12ca0b56
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment