summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-da903x.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-05-23 12:28:33 +0200
committerBryan Wu <cooloney@gmail.com>2013-06-21 01:21:33 +0200
commit84196a2ffbac42f1649cc6e193be6016b233d312 (patch)
tree7f65cd4311e8db3c250f85a5527c4b8b73247f15 /drivers/leds/leds-da903x.c
parentleds: leds-gpio: Let device core handle pinctrl (diff)
downloadlinux-84196a2ffbac42f1649cc6e193be6016b233d312.tar.xz
linux-84196a2ffbac42f1649cc6e193be6016b233d312.zip
leds: use platform_{get,set}_drvdata()
Use the wrapper functions for getting and setting the driver data using platform_device instead of using dev_{get,set}_drvdata() with &pdev->dev, so we can directly pass a struct platform_device. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'drivers/leds/leds-da903x.c')
0 files changed, 0 insertions, 0 deletions