]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Input: twl6040-vibra - ignore return value of schedule_work
authorH. Nikolaus Schaller <hns@goldelico.com>
Mon, 18 Apr 2016 21:47:14 +0000 (14:47 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 19 Apr 2016 16:24:21 +0000 (09:24 -0700)
commit5f7fb6f1e514e0ed47aee97752d6ae10491b4841
treeab19d63d1e3def73bababf30888594abe18872c2
parent52dee2c9f0850704327d976ea5c5fa7f4696dab5
Input: twl6040-vibra - ignore return value of schedule_work

Returning ret is wrong. And checking for an error as well. User space
may call multiple times until the work is really scheduled.

twl4030-vibra.c also ignores the return value.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/twl6040-vibra.c