backlight: 88pm860x_bl: fix error handling in pm860x_backlight_probe
authorAxel Lin <axel.lin@gmail.com>
Mon, 10 May 2010 01:29:58 +0000 (09:29 +0800)
committerRichard Purdie <rpurdie@linux.intel.com>
Wed, 26 May 2010 16:34:37 +0000 (17:34 +0100)
commit1f976996c7413b5b48d35b195cc2d7adcd3f68d7
tree29997ce9c5b1f61b8112eccb8ce85dd784f350c8
parent146e10a8c457236e017355ed9ba0ef78fbb3d12b
backlight: 88pm860x_bl: fix error handling in pm860x_backlight_probe

This patch  properly unregisters a previously registered backlight device object
in error handling

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
drivers/video/backlight/88pm860x_bl.c