]> git.karo-electronics.de Git - karo-tx-linux.git/commit
backlight: corgi_lcd: use lcd_get_data instead of dev_get_drvdata
authorJingoo Han <jg1.han@samsung.com>
Wed, 20 Feb 2013 02:15:26 +0000 (13:15 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:53:15 +0000 (16:53 +1100)
commit3906e796f1a417cbed0954600af13b77f5fcde61
treed7126b4df784208179557a084d0a52dd0a923a08
parent3d84e11ee3bf47a10b87d564eeafae9f7c352c62
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>
drivers/video/backlight/corgi_lcd.c