hwmon: (pwm-fan) Report probe errors consistently
authorRobin Murphy <robin.murphy@arm.com>
Fri, 12 Apr 2019 14:05:23 +0000 (15:05 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 16 Apr 2019 00:19:53 +0000 (17:19 -0700)
commit841cf6767bf6eb047fb8ede6c2a2d50976ec5ec9
tree42a12763d22a99930b752db4de5663b218d77f93
parent6b1ec4789fb17890a7f95e72670a9393fd9f8c8f
hwmon: (pwm-fan) Report probe errors consistently

Printing the error code for a failure provides a head-start for
debugging, since it's often sufficient to pinpoint the origin of the
failure. We already do this for some probe-failure messages, so let's
make the rest of them consistent.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pwm-fan.c