Axel Lin 4c4dd903e7 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>
2011-08-03 14:25:22 -10:00
..
2011-03-22 17:43:59 -07:00
2011-03-22 17:44:00 -07:00
2011-03-22 17:43:59 -07:00
2011-03-22 17:43:59 -07:00
2011-03-31 11:26:23 -03:00
2011-03-22 17:43:59 -07:00
2011-03-22 17:43:59 -07:00
2011-03-22 17:43:59 -07:00
2011-03-22 17:43:59 -07:00
2011-03-22 17:43:59 -07:00
2011-03-22 17:43:59 -07:00
2011-03-31 11:26:23 -03:00
2011-05-18 23:24:50 +02:00
2011-03-22 17:43:59 -07:00
2011-03-22 17:43:59 -07:00
2011-03-22 17:43:59 -07:00
2011-03-22 17:44:00 -07:00
2011-03-22 17:43:59 -07:00
2009-09-23 07:39:43 -07:00
2011-03-22 17:43:59 -07:00