extcon: gpio: Move platform data into state container
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 12 Feb 2018 08:53:13 +0000 (09:53 +0100)
committerChanwoo Choi <cw00.choi@samsung.com>
Wed, 21 Mar 2018 04:58:09 +0000 (13:58 +0900)
commita62300d99f15c4be7edafbbc2ade0246ec853778
treeec67bd4330dfcdd060a5e679f4ac0f4f7dbc735c
parent66afdedf269cf485efb5affb30c34e1f37705445
extcon: gpio: Move platform data into state container

This moves the platform data settings from the platform data
struct and into the state container, saving some unnecessary
references and simplifying things a bit.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
[cw00.choi: Add FIXME comment of extcon_id]
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-gpio.c