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>
Mon, 17 Jan 2022 10:48:45 +0000 (11:48 +0100)
commit1dac89184c4a5fda95be74f2c25d9863f4262e20
tree5d732f09e54389094ad4c46d519d1a600a186037
parentbcc48f8d980b12e66a3d59dfa1041667db971d86
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