OSDN Git Service

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)
commit43bcd820bd61859f5d4f6d9e7da4210ab4fcf448
treea325e2ee9f37787f5a6bf032c4ad7a27c6cd1ca1
parent4e116e93f4fbd1b5f0e800d312d62d1917370d1a
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 e7c2f967445d
("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