summaryrefslogtreecommitdiff
path: root/drivers/hwmon/lm85.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2015-03-28 17:44:59 +0300
committerGuenter Roeck <linux@roeck-us.net>2016-04-19 16:32:35 +0300
commit5cae84a58ee60eb54f636133f4f3ede9af93d476 (patch)
tree827e4460bb1bc089cffd3286fb546cce0f596a37 /drivers/hwmon/lm85.c
parent60878bcfd3dd2ea146dacf41313f8caa365df9a1 (diff)
downloadlinux-5cae84a58ee60eb54f636133f4f3ede9af93d476.tar.xz
hwmon: (it87) Simplify error return in it87_device_add
Return directly on errors if there is no cleanup necessary. Don't create an error message on memory allocation errors. Tested-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/lm85.c')
0 files changed, 0 insertions, 0 deletions