summaryrefslogtreecommitdiffstats
path: root/drivers/extcon/extcon-max77843.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2015-05-19 14:18:30 +0200
committerChanwoo Choi <cw00.choi@samsung.com>2015-05-20 10:02:47 +0900
commit35eed7a0768886e2f66db3cdbf3faf6435275e6b (patch)
tree2cb45e074dc5e1a96a4b09d9bca54fe8841e0e1b /drivers/extcon/extcon-max77843.c
parentd71aadda19f83521eca301cb154b81a7bcca78a2 (diff)
downloadop-kernel-dev-35eed7a0768886e2f66db3cdbf3faf6435275e6b.zip
op-kernel-dev-35eed7a0768886e2f66db3cdbf3faf6435275e6b.tar.gz
extcon: usb-gpio: use flags argument of devm_gpiod_get to set direction
Since 39b2bbe3d715 (gpio: add flags argument to gpiod_get*() functions) which appeared in v3.17-rc1, the gpiod_get* functions take an additional parameter that allows to specify direction and initial value for output. Without this patch there is no call to gpiod_direction_input but the gpio is used for irq reporting and for that the line should be in input mode. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/extcon/extcon-max77843.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud