backlight: lm3630a_bl: Remove redundant 'flush_workqueue()' calls
authorXu Wang <vulab@iscas.ac.cn>
Thu, 13 Jan 2022 08:48:06 +0000 (08:48 +0000)
committerHelge Deller <deller@gmx.de>
Sat, 29 Jan 2022 21:24:24 +0000 (22:24 +0100)
commitadc122011125682932ef279d717153670feedde4
tree7ba67320f394b7815fc9b3a95a3136ebdef86129
parent9d54c5d47406588f7bae9b72bd9f922b33434327
backlight: lm3630a_bl: Remove redundant 'flush_workqueue()' calls

'destroy_workqueue()' already drains the queue before destroying it, so
there is no need to flush it explicitly.

Remove the redundant 'flush_workqueue()' calls.

Signed-off-by: Xu Wang <vulab@iscas.ac.cn>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/backlight/lm3630a_bl.c