]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-rc5t583: use platform_{get,set}_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Wed, 19 Jun 2013 00:07:54 +0000 (10:07 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Jun 2013 07:27:26 +0000 (17:27 +1000)
commit4febdcc2f13a3e94d185d1af0ff825836839eafc
tree5b7cd8ea62e3d378ebd5a6ae6368b8ce9acd8fe3
parent5167f8b0f23a6c26552a9255db1a4fedab8fd117
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