From: Jingoo Han Date: Wed, 3 Jul 2013 22:07:12 +0000 (-0700) Subject: rtc: rtc-coh901331: use platform_{get,set}_drvdata() X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~17^2~119 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a02893f4e70725089b838053e916cc026ed93af;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed