WSL2-Linux-Kernel/drivers/input/misc
Uwe Kleine-König ea0afac450 Input: improve usage of gpiod API
Since 39b2bbe3d7 (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. Simplify drivers accordingly.

Note that in the case of the drv260x driver error checking is more
strict now because -ENOSYS is reported to the caller now. But this
should only be returned if GPIOLIB is disabled which shouldn't happen as
the driver depends on GPIOLIB.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2015-06-16 17:09:14 -07:00
..
88pm80x_onkey.c
88pm860x_onkey.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2014-12-17 10:06:02 -08:00
Kconfig Input: add OnKey driver for DA9063 MFD part 2015-06-09 11:23:24 -07:00
Makefile Input: add OnKey driver for DA9063 MFD part 2015-06-09 11:23:24 -07:00
ab8500-ponkey.c
ad714x-i2c.c
ad714x-spi.c
ad714x.c
ad714x.h
adxl34x-i2c.c Input: adxl34x - add OF match support 2015-05-21 16:58:02 -07:00
adxl34x-spi.c
adxl34x.c
adxl34x.h
apanel.c
arizona-haptics.c
ati_remote2.c
atlas_btns.c
axp20x-pek.c Input: axp20x-pek - switch over to using attribute group 2015-01-08 13:55:30 -08:00
bfin_rotary.c Input: bfin_rotary - introduce open and close methods 2015-02-15 16:06:29 -08:00
bma150.c
cm109.c
cma3000_d0x.c
cma3000_d0x.h
cma3000_d0x_i2c.c
cobalt_btns.c
da9052_onkey.c
da9055_onkey.c
da9063_onkey.c Input: add OnKey driver for DA9063 MFD part 2015-06-09 11:23:24 -07:00
dm355evm_keys.c
drv260x.c Input: improve usage of gpiod API 2015-06-16 17:09:14 -07:00
drv2665.c Input: add TI drv2665 haptics driver 2015-05-08 16:45:16 -07:00
drv2667.c Input: drv2667 - remove wrong and unneeded drv2667-haptics modalias 2015-02-01 11:21:24 -08:00
e3x0-button.c Input: add support for NI Ettus Research USRP E3x0 button 2015-01-10 14:17:10 -08:00
gp2ap002a00f.c
gpio-beeper.c Input: improve usage of gpiod API 2015-06-16 17:09:14 -07:00
gpio_tilt_polled.c
hp_sdc_rtc.c
ideapad_slidebar.c
ims-pcu.c Merge branch 'next' into for-linus 2014-12-15 20:32:42 -08:00
ixp4xx-beeper.c
keyspan_remote.c
kxtj9.c
m68kspkr.c
max8925_onkey.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2014-12-17 10:06:02 -08:00
max8997_haptic.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2014-12-17 10:06:02 -08:00
max77693-haptic.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2014-12-17 10:06:02 -08:00
max77843-haptic.c Input: add haptic support for max77843 2015-03-06 11:24:53 -08:00
mc13783-pwrbutton.c
mma8450.c Input: mma8450 - convert to using managed resources 2015-03-24 11:35:06 -07:00
mpu3050.c
palmas-pwrbutton.c Input: constify of_device_id arrays 2015-03-19 12:16:18 -07:00
pcap_keys.c
pcf8574_keypad.c
pcf50633-input.c
pcspkr.c
pm8xxx-vibrator.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2014-12-17 10:06:02 -08:00
pm8941-pwrkey.c Input: add Qualcomm PM8941 power key driver 2015-03-20 21:59:55 -07:00
pmic8xxx-pwrkey.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2014-12-17 10:06:02 -08:00
powermate.c
pwm-beeper.c Input: pwm-beeper - remove useless call to pwm_config() 2015-03-12 14:53:11 -07:00
rb532_button.c
regulator-haptic.c Input: constify of_device_id arrays 2015-03-19 12:16:18 -07:00
retu-pwrbutton.c Input: retu-pwrbutton - pass the IRQF_ONESHOT flag 2015-05-15 15:58:41 -07:00
rotary_encoder.c
sgi_btns.c
sirfsoc-onkey.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2014-12-17 10:06:02 -08:00
soc_button_array.c Input: soc_button_array - remove duplicated include 2015-05-13 10:30:18 -07:00
sparcspkr.c
tps65218-pwrbutton.c Input: constify of_device_id arrays 2015-03-19 12:16:18 -07:00
twl4030-pwrbutton.c Input: twl4030-pwrbutton - pass the IRQF_ONESHOT flag 2015-05-15 15:58:40 -07:00
twl4030-vibra.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2014-12-17 10:06:02 -08:00
twl6040-vibra.c Input: twl6040-vibra - pass the IRQF_ONESHOT flag 2015-05-15 15:58:41 -07:00
uinput.c
wistron_btns.c
wm831x-on.c Input: wm831x-on - pass the IRQF_ONESHOT flag 2015-05-15 15:58:42 -07:00
xen-kbdfront.c
yealink.c
yealink.h