projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hwmon: (lm90) Support MAX6646, MAX6647 and MAX6649
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
hwmon
/
hwmon.c
diff --git
a/drivers/hwmon/hwmon.c
b/drivers/hwmon/hwmon.c
index 3db28450a3b34504facc27cc8a9611a8e53569cd..076a59cdabe9f7a205cedd3883d40416e2e9b9c7 100644
(file)
--- a/
drivers/hwmon/hwmon.c
+++ b/
drivers/hwmon/hwmon.c
@@
-55,7
+55,8
@@
again:
return ERR_PTR(err);
id = id & MAX_ID_MASK;
- hwdev = device_create(hwmon_class, dev, MKDEV(0,0), HWMON_ID_FORMAT, id);
+ hwdev = device_create(hwmon_class, dev, MKDEV(0, 0), NULL,
+ HWMON_ID_FORMAT, id);
if (IS_ERR(hwdev)) {
spin_lock(&idr_lock);