]> git.karo-electronics.de Git - karo-tx-linux.git/commit
backlight: corgi_lcd: 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)
commite30a449591014bd318df43ce46c7a5a86f009c27
treeceec27ebd6d1081ef7a2a680f527338a5d87e893
parentd38abfe0c950d674a3d062c7fd8c01875c97adf3
backlight: corgi_lcd: 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/corgi_lcd.c