]> 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>
Thu, 7 Feb 2013 01:27:31 +0000 (12:27 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 18 Feb 2013 05:47:07 +0000 (16:47 +1100)
commitb35b750c6f621712aac429d073f5387c647df567
tree95b5980a6c376c597c55ffbf7b3c45dd12a98a8b
parente30a449591014bd318df43ce46c7a5a86f009c27
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