diff options
author | Jingoo Han | 2013-11-14 23:31:59 +0100 |
---|---|---|
committer | Linus Torvalds | 2013-11-15 01:32:21 +0100 |
commit | d5ceede8dc86278d16dcad8f916ef323b5672bd8 (patch) | |
tree | 9b485591c4120259b1633ad44a648c57a8f71171 /drivers/rtc/rtc-palmas.c | |
parent | vsprintf: ignore %n again (diff) | |
download | kernel-qcow2-linux-d5ceede8dc86278d16dcad8f916ef323b5672bd8.tar.gz kernel-qcow2-linux-d5ceede8dc86278d16dcad8f916ef323b5672bd8.tar.xz kernel-qcow2-linux-d5ceede8dc86278d16dcad8f916ef323b5672bd8.zip |
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-palmas.c')
0 files changed, 0 insertions, 0 deletions