diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-07-03 15:07:47 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-03 16:07:59 -0700 |
commit | ad87a766479d027f5966c781605bc9f7bf8bab67 (patch) | |
tree | 54992384762cf768df5f19d42847fb710adfa29a /drivers/hid/hid-lenovo-tpkbd.c | |
parent | dfc657b1330990213a3865aaef9d8af563ccad51 (diff) |
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 'drivers/hid/hid-lenovo-tpkbd.c')
0 files changed, 0 insertions, 0 deletions