diff options
author | Jingoo Han | 2013-11-14 14:31:59 -0800 |
---|---|---|
committer | Linus Torvalds | 2013-11-15 09:32:21 +0900 |
commit | d5ceede8dc86278d16dcad8f916ef323b5672bd8 (patch) | |
tree | 9b485591c4120259b1633ad44a648c57a8f71171 /drivers/rtc/rtc-ds1302.c | |
parent | 9196436ab2f713b823a2ba2024cb69f40b2f54a5 (diff) |
drivers/rtc/rtc-hid-sensor-time.c: use dev_get_platdata()
Use the wrapper function for retrieving the platform data instead of
accessing dev->platform_data directly. This is a cosmetic change to
make the code simpler and enhance the readability.
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 'drivers/rtc/rtc-ds1302.c')
0 files changed, 0 insertions, 0 deletions