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