]> 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)
commit4811badc3526a92a01e4404b34e6ef33815dbc76
tree9b485591c4120259b1633ad44a648c57a8f71171
parent3a148b4ed8ac5637a5b1be986b6d84c1803d6ed8
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