pm2fb: correct error values returned from probe function
authorKrzysztof Helt <krzysztof.h1@wp.pl>
Mon, 28 Apr 2008 09:14:51 +0000 (02:14 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Apr 2008 15:58:35 +0000 (08:58 -0700)
commit2ae09f0da1cd0c8c646edea2e68356e76789461c
tree5354faf610b582010fbe508de810c7dff9e52622
parent416e74ea7813597b586eafc24f67779eeb86e12f
pm2fb: correct error values returned from probe function

Fix error values returned in some code branches in the pm2fb_probe() function.

Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/pm2fb.c