]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-coh901331: use platform_{get,set}_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Fri, 7 Jun 2013 00:09:17 +0000 (10:09 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 7 Jun 2013 05:43:03 +0000 (15:43 +1000)
commita88f8c4c88199033dd8f75816492359d8b6b557f
tree8e78ff225e67c270d1a4a1cf99b2440816abb315
parent0ad40c0d295f7d1861798cb091c280bb4361b936
rtc: rtc-coh901331: 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-coh901331.c