backlight: backlight_device_register() return ERR_PTR()
authorDan Carpenter <error27@gmail.com>
Tue, 23 Mar 2010 00:51:36 +0000 (20:51 -0400)
committerRichard Purdie <rpurdie@linux.intel.com>
Wed, 26 May 2010 12:08:31 +0000 (13:08 +0100)
commit3e4a326df654d748d73600068fbdbdfed0b0db43
tree802687d227e8f7c2e00dd752d241811501b5745a
parentb1cdc4670b9508fcd47a15fbd12f70d269880b37
backlight: backlight_device_register() return ERR_PTR()

backlight_device_register() returns a valid pointer or ERR_PTR() never
NULL.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
drivers/video/backlight/adx_bl.c