]> git.karo-electronics.de Git - linux-beck.git/commit
power: Use platform_{get,set}_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Thu, 23 May 2013 10:34:39 +0000 (19:34 +0900)
committerAnton Vorontsov <anton@enomsg.org>
Fri, 7 Jun 2013 00:30:46 +0000 (17:30 -0700)
commite08358792422ef0b78d7c81f333fc0803fb41cd4
tree95607db2cbcf276d498fb68d014d0ea47e173072
parentc509a62c9469e2787bcacc7aba454d555732b0b6
power: 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: Anton Vorontsov <anton@enomsg.org>
drivers/power/intel_mid_battery.c
drivers/power/tps65090-charger.c