diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-07-04 00:07:12 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-04 01:07:55 +0200 |
commit | 3a02893f4e70725089b838053e916cc026ed93af (patch) | |
tree | 6a9313a8faf9d7092f2425805032ed5efb6e6453 /drivers/rtc/rtc-rc5t583.c | |
parent | rtc: rtc-sh: use devm_*() functions (diff) | |
download | linux-3a02893f4e70725089b838053e916cc026ed93af.tar.xz linux-3a02893f4e70725089b838053e916cc026ed93af.zip |
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions