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
Merge back earlier acpi-hotplug material.
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
hwmon
/
jz4740-hwmon.c
diff --git
a/drivers/hwmon/jz4740-hwmon.c
b/drivers/hwmon/jz4740-hwmon.c
index e0d66b9590abd21d91440abe3fc7015dc21f4276..a183e488db78ba2531f349c688ff0283764f2578 100644
(file)
--- a/
drivers/hwmon/jz4740-hwmon.c
+++ b/
drivers/hwmon/jz4740-hwmon.c
@@
-66,7
+66,7
@@
static ssize_t jz4740_hwmon_read_adcin(struct device *dev,
mutex_lock(&hwmon->lock);
-
INIT_COMPLETION(*
completion);
+
reinit_completion(
completion);
enable_irq(hwmon->irq);
hwmon->cell->enable(to_platform_device(dev));