]> 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>
Thu, 23 May 2013 18:23:29 +0000 (11:23 -0700)
commit3234e1167faed70db7329d9cd26c2a686d4ec59b
tree2b11d1cf906306df7e6697fdfc9850b23f5a9e81
parent78f5c0f32e4f561ae65cfaad26019ebc63b250b0
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