]> asedeno.scripts.mit.edu Git - linux.git/commit
hwmon: (adt7470) No need for additional synchronization on kthread_stop()
authorDaniel Wagner <daniel.wagner@bmw-carit.de>
Fri, 16 Sep 2016 08:07:36 +0000 (10:07 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 18 Sep 2016 17:10:26 +0000 (10:10 -0700)
commitdc8b73ebe543f53ec78507a9d0d37073773f6157
tree02b2a5054b888891f5a2168f65c4214b0ae3b78d
parent0a8784e792a03a04a2ec3bc443183a2f42058e30
hwmon: (adt7470) No need for additional synchronization on kthread_stop()

The kthread_stop() waits for the thread to exit. There is no need for an
additional synchronization needed to join on the kthread.

The completion was added by 89fac11cb3e7 ("adt7470: make automatic fan
control really work").

Signed-off-by: Daniel Wagner <daniel.wagner@bmw-carit.de>
Cc: Darrick J. Wong <djwong@us.ibm.com>
Cc: Jean Delvare <jdelvare@suse.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/adt7470.c