extcon: use dev_get_platdata()
authorJingoo Han <jg1.han@samsung.com>
Wed, 11 Sep 2013 04:22:18 +0000 (13:22 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Fri, 27 Sep 2013 00:37:01 +0000 (09:37 +0900)
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: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-adc-jack.c
drivers/extcon/extcon-gpio.c
drivers/extcon/extcon-palmas.c

Simple merge
Simple merge
Simple merge