]> git.karo-electronics.de Git - karo-tx-linux.git/commit
backlight: tosa: use bl_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:14 +0000 (16:53 +1100)
commit00b175eef577f910281e04e1fd9f7373832cd751
tree942a1c85c506be65e32c6f3b43425a230b9acd1f
parent2c9a26a312f32a893b06e2e7ee079eefebf1d357
backlight: tosa: 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/tosa_bl.c