]> git.karo-electronics.de Git - karo-tx-linux.git/commit
pwm_backlight: use bl_get_data instead of dev_get_drvdata
authorJingoo Han <jg1.han@samsung.com>
Thu, 7 Feb 2013 01:27:30 +0000 (12:27 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 18 Feb 2013 05:47:06 +0000 (16:47 +1100)
commitd2eed235da291a3c146ea3a1f3016265dff7af8e
tree030a47735fa94378437fb07099a79496ac182ba0
parent2fb5ec4692e0204b08269f6e5e104c487734c812
pwm_backlight: 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>
Cc: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/video/backlight/pwm_bl.c