Commit 2620c6e3 authored by Antonino A. Daplas's avatar Antonino A. Daplas Committed by Linus Torvalds

nvidiafb: fix return value of nvidiafb_open()

Fix return value of nvidiafb_open().
Signed-off-by: default avatarAntonino Daplas <adaplas@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 0449359f
......@@ -1016,7 +1016,7 @@ static int nvidiafb_release(struct fb_info *info, int user)
par->open_count--;
done:
mutex_unlock(&par->open_lock);
return 0;
return err;
}
static struct fb_ops nvidia_fb_ops = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment