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