projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ade0c1
)
HID: hid-picolcd: don't use flush_scheduled_work()
author
Tejun Heo
<tj@kernel.org>
Sat, 11 Dec 2010 16:51:36 +0000
(17:51 +0100)
committer
Jiri Kosina
<jkosina@suse.cz>
Sat, 11 Dec 2010 17:38:20 +0000
(18:38 +0100)
flush_scheduled_work() is deprecated and scheduled to be removed.
Directly flush picolcd_fb_cleanup on exit instead.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-picolcd.c
patch
|
blob
|
history
diff --git
a/drivers/hid/hid-picolcd.c
b/drivers/hid/hid-picolcd.c
index
e4ce471
..
ed0e066
100644
(file)
--- a/
drivers/hid/hid-picolcd.c
+++ b/
drivers/hid/hid-picolcd.c
@@
-2750,7
+2750,7
@@
static void __exit picolcd_exit(void)
{
hid_unregister_driver(&picolcd_driver);
#ifdef CONFIG_HID_PICOLCD_FB
- flush_
scheduled_work(
);
+ flush_
work_sync(&picolcd_fb_cleanup
);
WARN_ON(fb_pending);
#endif
}