hwmon: (occ) Print response status in first poll error message
authorEddie James <eajames@linux.ibm.com>
Tue, 9 Feb 2021 17:12:35 +0000 (11:12 -0600)
committerJoel Stanley <joel@jms.id.au>
Fri, 4 Jun 2021 04:59:58 +0000 (14:29 +0930)
commit38483e8fed80ba21d8736a76043a32b0110a387a
treea13a8e12fcec2f978e69c44d49328e1067bf3282
parent75028ef4583091c355ac78ef03b64fc8f1f87909
hwmon: (occ) Print response status in first poll error message

In order to better debug problems starting up the driver, print
the response status from the OCC in the error logged when the first
poll command fails.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20210209171235.20624-5-eajames@linux.ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
drivers/hwmon/occ/common.c