]> 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)
commitfd08c977b77eab7ce58f5b2fa2ea9a5b97eaa57d
treea325e2ee9f37787f5a6bf032c4ad7a27c6cd1ca1
parent620dc3b94538caa397777f4e3b5842cb4bdba1e9
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 30083c8fb0c5
("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