]> git.karo-electronics.de Git - karo-tx-linux.git/commit
backlight: aat2870: use bl_get_data instead of dev_get_drvdata
authorJingoo Han <jg1.han@samsung.com>
Wed, 20 Feb 2013 02:15:24 +0000 (13:15 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:53:14 +0000 (16:53 +1100)
commitdb9eb66dfe94a988d0b50cb944fd8212f91f366e
treed618c0a182f2a629f3ad8193329b5480b6d76026
parent86fa8ccbbfd1a7351171c7efb01135bbea2b209f
backlight: aat2870: 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/aat2870_bl.c