]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit162a8b59fccb4a6a42731aff0d9cb9550013e1aa
treeec67bd4330dfcdd060a5e679f4ac0f4f7dbc735c
parent9c4934fc9747cb75c2f3fa5380ebfb0d8c6807be
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