]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Sat, 15 Sep 2012 14:57:29 +0000 (07:57 -0700)
commit46f7691fdd8df291547ea5a4279ccb5d43a79d47
tree03c40be7f0bda9834bec1856df58c32a8564fbb4
parentfb483e451f66b3cd679d0f228f6facde5b055f78
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