diff options
Diffstat (limited to 'drivers/hid')
-rw-r--r-- | drivers/hid/hid-picolcd_fb.c | 2 | ||||
-rw-r--r-- | drivers/hid/hid-wiimote-ext.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hid/hid-picolcd_fb.c b/drivers/hid/hid-picolcd_fb.c index 0008a512211d..eb003574b634 100644 --- a/drivers/hid/hid-picolcd_fb.c +++ b/drivers/hid/hid-picolcd_fb.c | |||
@@ -608,7 +608,7 @@ void picolcd_exit_framebuffer(struct picolcd_data *data) | |||
608 | /* make sure there is no running update - thus that fbdata->picolcd | 608 | /* make sure there is no running update - thus that fbdata->picolcd |
609 | * once obtained under lock is guaranteed not to get free() under | 609 | * once obtained under lock is guaranteed not to get free() under |
610 | * the feet of the deferred work */ | 610 | * the feet of the deferred work */ |
611 | flush_delayed_work_sync(&info->deferred_work); | 611 | flush_delayed_work(&info->deferred_work); |
612 | 612 | ||
613 | data->fb_info = NULL; | 613 | data->fb_info = NULL; |
614 | unregister_framebuffer(info); | 614 | unregister_framebuffer(info); |
diff --git a/drivers/hid/hid-wiimote-ext.c b/drivers/hid/hid-wiimote-ext.c index bc85bf29062e..38ae87772e96 100644 --- a/drivers/hid/hid-wiimote-ext.c +++ b/drivers/hid/hid-wiimote-ext.c | |||
@@ -229,7 +229,7 @@ static void wiiext_worker(struct work_struct *work) | |||
229 | /* schedule work only once, otherwise mark for reschedule */ | 229 | /* schedule work only once, otherwise mark for reschedule */ |
230 | static void wiiext_schedule(struct wiimote_ext *ext) | 230 | static void wiiext_schedule(struct wiimote_ext *ext) |
231 | { | 231 | { |
232 | queue_work(system_nrt_wq, &ext->worker); | 232 | schedule_work(&ext->worker); |
233 | } | 233 | } |
234 | 234 | ||
235 | /* | 235 | /* |