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