]> git.karo-electronics.de Git - karo-tx-linux.git/commit
backlight: corgi_lcd: use bl_get_data instead of dev_get_drvdata
authorJingoo Han <jg1.han@samsung.com>
Wed, 20 Feb 2013 02:15:25 +0000 (13:15 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:53:14 +0000 (16:53 +1100)
commit2c9a26a312f32a893b06e2e7ee079eefebf1d357
treea5896c41e27a04e6a00bb3849c2350c21c1aaf0a
parentef12016e8fabdd177cb5d61bf79029f0b516ecc3
backlight: corgi_lcd: use bl_get_data instead of dev_get_drvdata

Use the wrapper function for getting the driver data using
backlight_device instead of using dev_get_drvdata with &bd->dev, so we can
directly pass a struct backlight_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