Skip to content
Commit c5a70669 authored by Guenter Roeck's avatar Guenter Roeck
Browse files

hwmon: (max1668) Don't hide return value from i2c_smbus_write_byte_data



i2c_smbus_write_byte_data returns a valid error code.
Return it to the user instead of replacing it with -EIO.

Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Reviewed-by: default avatarJean Delvare <jdelvare@suse.de>
parent b4c9c1a7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment