backlight: use pr_warn() and pr_debug() instead of printk()
[deliverable/linux.git] / drivers / video / fb_defio.c
index 32814e8800e034ccb073024a0959f5764ced7d86..c27e153d8882053e2d28ab72cfc784875752f337 100644 (file)
@@ -223,8 +223,7 @@ void fb_deferred_io_cleanup(struct fb_info *info)
        int i;
 
        BUG_ON(!fbdefio);
-       cancel_delayed_work(&info->deferred_work);
-       flush_scheduled_work();
+       cancel_delayed_work_sync(&info->deferred_work);
 
        /* clear out the mapping that we setup */
        for (i = 0 ; i < info->fix.smem_len; i += PAGE_SIZE) {
This page took 0.024413 seconds and 5 git commands to generate.