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