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)
commit7c0f6558f893eb5eddb52ee0fa84c2d43b2c199a
treeeba6fda5f906d8b1d378367d3a1ba3f340436b95
parent338de0ca682ca95d3f6185459e11540c37dd8a2a
extcon: 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: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-adc-jack.c
drivers/extcon/extcon-gpio.c
drivers/extcon/extcon-palmas.c