drivers/rtc/rtc-hid-sensor-time.c: use dev_get_platdata()
authorJingoo Han <jg1.han@samsung.com>
Thu, 14 Nov 2013 22:31:59 +0000 (14:31 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 15 Nov 2013 00:32:21 +0000 (09:32 +0900)
commitd5ceede8dc86278d16dcad8f916ef323b5672bd8
tree9b485591c4120259b1633ad44a648c57a8f71171
parent9196436ab2f713b823a2ba2024cb69f40b2f54a5
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>
drivers/rtc/rtc-hid-sensor-time.c