ps3fb: Correct handling of device opening in ps3fb_probe()
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Wed, 10 Jun 2009 04:38:44 +0000 (04:38 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 15 Jun 2009 03:26:19 +0000 (13:26 +1000)
commitca971ea39fa92add0fa596ad80affd7db781d762
treef95547c1eacb5cb267e70a8e267996cf53c74107
parentbb94f077e5c1d3276fe656665c2574fdd3483e75
ps3fb: Correct handling of device opening in ps3fb_probe()

- ps3_open_hv_device() returns a standard error value,
  - Add missing call to ps3_close_hv_device() in the error path.

Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Cc: linux-fbdev-devel@lists.sourceforge.net
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/video/ps3fb.c