diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-08-03 23:21:16 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-08-04 00:25:22 (GMT) |
commit | 4c4dd903e72507c853b8c2b04b22e0d0c721fd93 (patch) | |
tree | 79edda6696d37baaa559ee9517fbcffd8df05552 /drivers/ps3/ps3-vuart.c | |
parent | 1646ec9db75e151b0479dbfaf972f741d0476ec7 (diff) | |
download | linux-fsl-qoriq-4c4dd903e72507c853b8c2b04b22e0d0c721fd93.tar.xz |
drivers/video/backlight/aat2870_bl.c: fix error checking for backlight_device_register
backlight_device_register() returns ERR_PTR() on error.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: Jin Park <jinyoungp@nvidia.com>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/ps3/ps3-vuart.c')
0 files changed, 0 insertions, 0 deletions