summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-07-04 02:07:47 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-04 03:07:59 +0400
commitad87a766479d027f5966c781605bc9f7bf8bab67 (patch)
tree54992384762cf768df5f19d42847fb710adfa29a /samples
parentdfc657b1330990213a3865aaef9d8af563ccad51 (diff)
downloadlinux-ad87a766479d027f5966c781605bc9f7bf8bab67.tar.xz
drivers/rtc/rtc-mpc5121.c: 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> Cc: Grant Likely <grant.likely@linaro.org> Cc: Rob Herring <rob.herring@calxeda.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions