git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: ntohs() misuse
[safe/jmp/linux-2.6]
/
drivers
/
hwmon
/
f71882fg.c
diff --git
a/drivers/hwmon/f71882fg.c
b/drivers/hwmon/f71882fg.c
index
367f6cb
..
5f81ddf
100644
(file)
--- a/
drivers/hwmon/f71882fg.c
+++ b/
drivers/hwmon/f71882fg.c
@@
-1932,7
+1932,7
@@
static int __init f71882fg_device_add(unsigned short address,
res.name = f71882fg_pdev->name;
err = acpi_check_resource_conflict(&res);
if (err)
-
return err
;
+
goto exit_device_put
;
err = platform_device_add_resources(f71882fg_pdev, &res, 1);
if (err) {