]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0219a6cd0e4ee23448175239e2b51571f1e337a1
tree9b485591c4120259b1633ad44a648c57a8f71171
parent2e8848cec4651d90dcd433cc128c4af32a31887c
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