hwmon: (max1668) Don't hide return value from i2c_smbus_write_byte_data
authorGuenter Roeck <linux@roeck-us.net>
Sun, 16 Feb 2014 01:59:05 +0000 (17:59 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 3 Mar 2014 16:01:04 +0000 (08:01 -0800)
commitc5a706697f79b2aa5a2000f8024602320e37658f
treed74c291db9ca77f09888b8ab4b69f691f14d2319
parentb4c9c1a7987ef07d8345bf9d19f36d97423b6b25
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: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Jean Delvare <jdelvare@suse.de>
drivers/hwmon/max1668.c
This page took 0.037525 seconds and 5 git commands to generate.