]> git.baikalelectronics.ru Git - kernel.git/commit
Input: synaptics_i2c - remove redundant spinlock
authorSven Van Asbroeck <TheSven73@gmail.com>
Sun, 17 Feb 2019 06:53:27 +0000 (22:53 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 17 Feb 2019 06:57:31 +0000 (22:57 -0800)
commit114c51c6b830f3a221c86e415a6c499f6afb6b3e
treea325e2ee9f37787f5a6bf032c4ad7a27c6cd1ca1
parent7a68736e68ae936d64dc86b094f62cf4c6a72cfc
Input: synaptics_i2c - remove redundant spinlock

Remove a leftover spinlock.

This was required back when mod_delayed_work() did not exist, and had to
be implemented with a cancel + queue. See commit 11e0af0690e6
("workqueue: use mod_delayed_work() instead of __cancel + queue")

schedule_delayed_work() and mod_delayed_work() can now be used
concurrently. So the spinlock is no longer needed.

Signed-off-by: Sven Van Asbroeck <TheSven73@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/synaptics_i2c.c