Dan Carpenter
04258bdb60
hwmon: (adt7462) Fix an error return in ADT7462_REG_VOLT()
...
commit 44f2f882909fedfc3a56e4b90026910456019743 upstream.
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 <dan.carpenter@oracle.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Link: https://lore.kernel.org/r/20200303101608.kqjwfcazu2ylhi2a@kili.mountain
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-03-11 07:51:18 +01:00
..
2020-02-28 15:38:50 +01:00
2014-10-03 08:19:02 -07:00
2014-10-20 16:20:36 +02:00
2014-10-20 16:20:36 +02:00
2015-10-14 07:57:14 -07:00
2013-04-16 18:27:52 -07:00
2019-10-05 12:27:49 +02:00
2015-10-28 10:30:17 +09:00
2014-08-04 07:01:35 -07:00
2014-08-04 07:01:35 -07:00
2015-01-25 21:24:00 -08:00
2015-10-28 10:30:17 +09:00
2014-08-04 07:01:36 -07:00
2014-08-05 19:44:36 -07:00
2014-08-05 19:44:36 -07:00
2014-08-04 07:01:35 -07:00
2014-08-04 07:01:37 -07:00
2014-08-04 07:01:37 -07:00
2016-03-03 15:07:25 -08:00
2016-06-07 18:14:34 -07:00
2015-10-28 10:30:17 +09:00
2015-10-28 10:30:17 +09:00
2016-10-07 15:23:42 +02:00
2020-03-11 07:51:18 +01:00
2014-08-04 07:01:39 -07:00
2020-01-29 10:21:51 +01:00
2017-01-12 11:22:48 +01:00
2015-11-15 21:52:39 -08:00
2014-08-05 19:44:36 -07:00
2014-08-04 07:01:38 -07:00
2017-12-25 14:22:12 +01:00
2015-05-31 22:58:36 -07:00
2015-10-14 07:57:14 -07:00
2014-10-20 16:20:36 +02:00
2014-10-20 16:20:36 +02:00
2016-07-27 09:47:37 -07:00
2014-10-20 16:20:36 +02:00
2017-01-12 11:22:48 +01:00
2014-08-28 11:18:47 -07:00
2014-08-05 17:49:12 -07:00
2014-08-04 07:01:35 -07:00
2014-08-04 07:01:40 -07:00
2019-06-11 12:24:00 +02:00
2015-08-09 13:44:26 -07:00
2013-10-13 16:16:27 -07:00
2015-10-31 15:43:41 -07:00
2014-08-04 07:01:37 -07:00
2017-01-12 11:22:48 +01:00
2014-08-04 07:01:36 -07:00
2017-10-08 10:14:17 +02:00
2016-03-03 15:07:25 -08:00
2014-08-05 19:40:27 -07:00
2014-08-04 07:01:35 -07:00
2013-09-10 06:28:17 -07:00
2014-03-03 08:01:06 -08:00
2014-10-20 16:20:36 +02:00
2015-01-24 14:16:22 +01:00
2014-07-23 15:01:44 -07:00
2015-03-09 09:59:35 -07:00
2018-11-27 16:08:01 +01:00
2016-09-07 08:32:46 +02:00
2018-12-17 21:55:10 +01:00
2013-10-18 09:11:57 -07:00
2015-08-09 13:44:27 -07:00
2015-03-09 09:59:35 -07:00
2014-10-20 16:20:36 +02:00
2014-01-14 21:36:30 -08:00
2015-11-09 10:14:29 +01:00
2015-12-18 08:19:52 -08:00
2014-08-04 07:01:37 -07:00
2014-08-04 07:01:36 -07:00
2015-10-28 10:30:17 +09:00
2013-10-13 16:16:28 -07:00
2015-10-14 07:57:14 -07:00
2014-07-31 09:41:46 -07:00
2014-10-20 16:20:36 +02:00
2019-02-23 09:05:13 +01:00
2014-05-21 16:02:26 -07:00
2015-04-17 09:03:55 -04:00
2014-08-05 19:44:42 -07:00
2014-04-04 18:01:35 +02:00
2014-08-05 17:48:52 -07:00
2014-08-04 07:01:36 -07:00
2014-12-02 06:11:53 -08:00
2014-03-03 08:01:04 -08:00
2014-12-02 03:44:18 -08:00
2014-08-04 07:01:35 -07:00
2014-06-12 08:36:47 -07:00
2014-03-03 08:01:05 -08:00
2014-08-04 07:01:35 -07:00
2014-03-03 08:01:05 -08:00
2014-08-04 07:01:35 -07:00
2013-10-18 09:12:00 -07:00
2015-11-10 15:00:03 -08:00
2015-05-31 22:58:36 -07:00
2016-04-20 15:41:52 +09:00
2014-05-21 16:02:25 -07:00
2014-08-04 07:01:39 -07:00
2014-08-04 07:01:39 -07:00
2014-01-29 20:40:08 +01:00
2014-03-03 08:01:06 -08:00
2014-08-04 07:01:40 -07:00
2014-08-04 07:01:38 -07:00
2015-10-14 07:57:14 -07:00
2014-10-20 16:20:36 +02:00
2015-07-01 13:56:27 -07:00
2014-11-03 19:53:56 -08:00
2015-05-29 17:47:42 -07:00
2019-08-25 10:52:47 +02:00
2020-01-29 10:21:52 +01:00
2015-08-05 08:31:59 -07:00
2015-08-03 23:15:50 +08:00
2014-10-20 16:20:36 +02:00
2019-06-11 12:23:59 +02:00
2014-01-29 20:40:08 +01:00
2014-08-04 07:01:33 -07:00
2019-11-25 15:54:51 +01:00
2014-10-20 16:20:36 +02:00
2014-10-20 16:20:36 +02:00
2014-10-20 16:20:36 +02:00
2017-01-12 11:22:48 +01:00
2015-08-10 23:00:10 -07:00
2014-08-04 07:01:38 -07:00
2020-01-29 10:21:48 +01:00
2014-10-20 16:20:36 +02:00
2014-08-04 07:01:37 -07:00
2019-06-11 12:23:59 +02:00
2019-06-11 12:23:59 +02:00
2014-08-04 07:01:39 -07:00
2015-06-21 22:54:53 -07:00
2014-08-04 07:01:39 -07:00
2015-12-10 08:14:22 -08:00
2014-09-22 11:11:48 -07:00
2015-05-29 13:37:06 -07:00
2014-08-04 07:01:38 -07:00
2014-10-20 16:20:36 +02:00
2014-10-20 16:20:36 +02:00
2015-03-16 13:00:32 -07:00
2014-10-20 16:20:36 +02:00
2014-10-20 16:20:36 +02:00
2019-06-11 12:23:59 +02:00
2014-10-20 16:20:36 +02:00
2014-04-04 18:01:34 +02:00
2014-08-04 07:01:34 -07:00
2015-07-03 14:39:06 +02:00
2020-01-29 10:21:42 +01:00
2014-10-20 16:20:36 +02:00
2014-08-05 19:44:42 -07:00
2015-07-03 14:39:05 +02:00
2014-08-05 19:44:42 -07:00
2018-12-17 21:55:10 +01:00
2014-10-20 16:20:36 +02:00
2014-10-20 16:20:36 +02:00