]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Fri, 31 May 2013 17:22:54 +0000 (10:22 -0700)
commitfbd476eade75aa5cfb7733d3210a8b78db1c2d85
tree05cd8b24b6f908907def31eea6b58edb94054e14
parent3f6324b2fdc6fb6cf3cdf9d242d563aba1c6fc5e
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