backlight: corgi_lcd: use lcd_get_data instead of dev_get_drvdata
authorJingoo Han <jg1.han@samsung.com>
Fri, 22 Feb 2013 00:43:51 +0000 (16:43 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 22 Feb 2013 01:22:24 +0000 (17:22 -0800)
commit47cf076b4407010573dee9eadc998ff9ecf8397c
tree2d0457b7a9a68fee2e4f60447713adc4808d8188
parent5f42d5b27f7db19dbe9d587164e441008e66ef89
backlight: corgi_lcd: use lcd_get_data instead of dev_get_drvdata

Use the wrapper function for getting the driver data using lcd_device
instead of using dev_get_drvdata with &ld->dev, so we can directly pass a
struct lcd_device.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/backlight/corgi_lcd.c