]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/rtc/rtc-da9055.c: use dev_get_platdata()
authorJingoo Han <jg1.han@samsung.com>
Tue, 5 Nov 2013 05:57:15 +0000 (16:57 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 5 Nov 2013 05:57:15 +0000 (16:57 +1100)
commit711c8e5a664b4707d13b9c97adbfd175586f9a4c
tree71549e6332836f07f8735d611d88ba3eb23426bd
parent4c28f9e735d4bcc9e8130e3c26b09dc4f7bce9c9
drivers/rtc/rtc-da9055.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>
drivers/rtc/rtc-da9055.c