hwmon: (nct7904) Add error handling in probe function.
authoramy.shih <amy.shih@advantech.com.tw>
Mon, 17 Jun 2019 08:08:50 +0000 (08:08 +0000)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 9 Jul 2019 01:11:29 +0000 (18:11 -0700)
commitb3e26067874700fb38aeddf2da9844afb36f1a94
treef85c4b2003c6f63c8c5eb2b8822fb64427cc91bc
parent23297edbc15ae19917253064c81f91c4df240f93
hwmon: (nct7904) Add error handling in probe function.

When register read and write operations return errors, needs to add
error handling.

Signed-off-by: amy.shih <amy.shih@advantech.com.tw>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/nct7904.c