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>
This commit is contained in:
amy.shih 2019-06-17 08:08:50 +00:00 • committed by Guenter Roeck
commit b3e2606787