Skip to content
Commit 76faa320 authored by Tetsuo Handa's avatar Tetsuo Handa Committed by Jonathan Cameron
Browse files

iio: light: tsl2563: Replace flush_scheduled_work() with cancel_delayed_work_sync().



Commit 9e61d901 ("iio: light: tsl2563: Remove
flush_scheduled_work") replaced cancel_delayed_work() +
flush_scheduled_work() with cancel_delayed_work_sync() for only
tsl2563_probe() side.

Do the same thing for tsl2563_remove() side, which was added by
commit 388be488 ("staging:iio: tsl2563 abi fixes and interrupt
handling").

Signed-off-by: default avatarTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Link: https://lore.kernel.org/r/3381176e-2f86-24ba-a8ba-c4ce8f416086@I-love.SAKURA.ne.jp


Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 4a080694
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment