]> git.karo-electronics.de Git - karo-tx-linux.git/commit
backlight: omap1: 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:15 +0000 (16:53 +1100)
commit3d84e11ee3bf47a10b87d564eeafae9f7c352c62
tree0b4f778ec7cc30522554b0368353cb8590079637
parent00b175eef577f910281e04e1fd9f7373832cd751
backlight: omap1: 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/omap1_bl.c