]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - drivers/video/fbmem.c
video: Add module.h to drivers/video files who really use it.
[mirror_ubuntu-zesty-kernel.git] / drivers / video / fbmem.c
index 5aac00eb1830c1724ed521f2bcc91693d9dbe646..ad936295d8f439cb61d69d88d9b6ca736c2ba930 100644 (file)
@@ -1738,8 +1738,6 @@ void fb_set_suspend(struct fb_info *info, int state)
 {
        struct fb_event event;
 
-       if (!lock_fb_info(info))
-               return;
        event.info = info;
        if (state) {
                fb_notifier_call_chain(FB_EVENT_SUSPEND, &event);
@@ -1748,7 +1746,6 @@ void fb_set_suspend(struct fb_info *info, int state)
                info->state = FBINFO_STATE_RUNNING;
                fb_notifier_call_chain(FB_EVENT_RESUME, &event);
        }
-       unlock_fb_info(info);
 }
 
 /**