commit | e1c2f989e691e8e124b57fd7ba4e15e7873b91e5 | [log] [tgz] |
---|---|---|
author | Jingoo Han <jg1.han@samsung.com> | Wed Jul 03 15:07:13 2013 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Jul 03 16:07:55 2013 -0700 |
tree | 939af7ebb78a902745ed1fc989904194106ca8b2 | |
parent | 3a02893f4e70725089b838053e916cc026ed93af [diff] |
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> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>