Input: elants_i2c - fix for devm_gpiod_get API change
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 10 Aug 2015 05:37:46 +0000 (22:37 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 13 Aug 2015 23:05:02 +0000 (16:05 -0700)
commit7229b87bb269c9e18cabbc43c5fb01c81d097b24
tree007d74e30d3c820a947ff4975289624cbf29c5e1
parent71d0f562358c3274e78ef371dfeb71ad5e86cb91
Input: elants_i2c - fix for devm_gpiod_get API change

Flags are now mandatory for devm_gpiod_get(). So let's use proper flag
to configure gpio for output instead of doing this by hand.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
[Dmitry: GPIOD_ASIS -> GPIOD_OUT_LOW]
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/elants_i2c.c