hwmon: (adt7410) handle errors from adt7410_update_device()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 15 Aug 2012 07:49:43 +0000 (10:49 +0300)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 24 Sep 2012 04:08:33 +0000 (21:08 -0700)
commit37f9648b2745fc3830f3715a601f7f94296de838
tree477929f36d0a629df45ed4ebb047e8fb775ade13
parent983b97bed21e392280e80f704e97170b76cb7f3e
hwmon: (adt7410) handle errors from adt7410_update_device()

Smatch complains that adt7410_update_device() can return error pointers.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/adt7410.c