Skip to content

Commit

Permalink
nvidiafb: fix return value of nvidiafb_open()
Browse files Browse the repository at this point in the history
Fix return value of nvidiafb_open().

Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Antonino A. Daplas authored and Linus Torvalds committed May 8, 2007
1 parent 0449359 commit 2620c6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/nvidia/nvidia.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 2620c6e

Please sign in to comment.