]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/hwmon/jz4740-hwmon.c
tree-wide: use reinit_completion instead of INIT_COMPLETION
[karo-tx-linux.git] / drivers / hwmon / jz4740-hwmon.c
index e0d66b9590abd21d91440abe3fc7015dc21f4276..a183e488db78ba2531f349c688ff0283764f2578 100644 (file)
@@ -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));