diff options
author | Dan Carpenter <[email protected]> | 2020-03-03 13:16:08 +0300 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2020-03-03 12:42:55 -0800 |
commit | 44f2f882909fedfc3a56e4b90026910456019743 (patch) | |
tree | 2a1109a37f122a9cb7b2db59725a5df6d627c222 /drivers/usb/cdns3/cdns3-imx.c | |
parent | deddc9e8c0e05c2a770d3c9e6683c7ae216741ca (diff) |
hwmon: (adt7462) Fix an error return in ADT7462_REG_VOLT()
This is only called from adt7462_update_device(). The caller expects it
to return zero on error. I fixed a similar issue earlier in commit
a4bf06d58f21 ("hwmon: (adt7462) ADT7462_REG_VOLT_MAX() should return 0")
but I missed this one.
Fixes: c0b4e3ab0c76 ("adt7462: new hwmon driver")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions