leds: use platform_{get,set}_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Thu, 23 May 2013 10:28:33 +0000 (03:28 -0700)
committerBryan Wu <cooloney@gmail.com>
Thu, 20 Jun 2013 23:21:33 +0000 (16:21 -0700)
commit84196a2ffbac42f1649cc6e193be6016b233d312
tree7f65cd4311e8db3c250f85a5527c4b8b73247f15
parentbfa855bad39b7a266c00efdd2dc5887bcd41bb70
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>
drivers/leds/leds-88pm860x.c
drivers/leds/leds-sunfire.c
drivers/leds/leds-wm831x-status.c