]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
hwmon: (adt7475) Make adt7475_read_word() return errors
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 14 Aug 2018 10:07:47 +0000 (13:07 +0300)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 27 Aug 2018 00:45:25 +0000 (17:45 -0700)
commitf196dec6d50abb2e65fb54a0621b2f1b4d922995
treea070eefdd19d2d82cdda32301c6330270c45ebdc
parent9d19371df50a73301aec66a479b490587e889055
hwmon: (adt7475) Make adt7475_read_word() return errors

The adt7475_read_word() function was meant to return negative error
codes on failure.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Tokunori Ikegami <ikegami@allied-telesis.co.jp>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/adt7475.c