]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-rc5t583: use platform_{get,set}_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Thu, 27 Jun 2013 23:53:28 +0000 (09:53 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 28 Jun 2013 06:38:42 +0000 (16:38 +1000)
commit382dc734b87c0694c3681d08b5eaad7da934df2f
tree994c2d238b9a568d8aaf9476386043ba8c79d1c6
parent6427ad674d15ff1882db4f98731ae62dbdfb0f54
rtc: rtc-rc5t583: 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: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-rc5t583.c