]> git.karo-electronics.de Git - karo-tx-linux.git/commit
backlight: ams369fg06: 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)
commitef12016e8fabdd177cb5d61bf79029f0b516ecc3
tree8070a8dea1d1c01ffec92d971401cf2cfa3f332b
parent1670b7044d89d62a6a382e528387c44b46c44c11
backlight: ams369fg06: 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/ams369fg06.c