linux/drivers/input/touchscreen
Krzysztof Kozlowski 7ef9bdec9a Input: Use str_enable_disable-like helpers
Replace ternary (condition ? "enable" : "disable") syntax with helpers
from string_choices.h because:
1. Simple function call with one argument is easier to read.  Ternary
   operator has three arguments and with wrapping might lead to quite
   long code.
2. Is slightly shorter thus also easier to read.
3. It brings uniformity in the text - same string.
4. Allows deduping by the linker, which results in a smaller binary
   file.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250114192701.912430-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2025-01-14 13:41:41 -08:00
..
88pm860x-ts.c Input: 88pm860x - use cleanup facility for device_node 2024-10-19 21:21:41 -07:00
Kconfig Input: hycon-hy46xx - add missing dependency on REGMAP_I2C 2024-10-03 04:44:03 -07:00
Makefile Input: cyttsp4 - remove driver 2024-08-05 10:48:49 -07:00
ad7877.c
ad7879-i2c.c
ad7879-spi.c
ad7879.c
ad7879.h
ads7846.c Input updates for v6.13-rc0 2024-11-25 10:31:39 -08:00
ar1021_i2c.c
atmel_mxt_ts.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
auo-pixcir-ts.c input: Fix typos in comments across various files 2024-09-30 07:58:33 -07:00
bcm_iproc_tsc.c input: Fix typos in comments across various files 2024-09-30 07:58:33 -07:00
bu21013_ts.c
bu21029_ts.c
chipone_icn8318.c
chipone_icn8505.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
colibri-vf50-ts.c Input: colibri-vf50-ts - make use of the helper function dev_err_probe() 2024-08-19 10:22:56 -07:00
cy8ctma140.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
cy8ctmg110_ts.c
cyttsp5.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
cyttsp_core.c Input: cyttsp - use devm_regulator_bulk_get_enable() 2024-08-05 10:48:39 -07:00
cyttsp_core.h Input: cyttsp4 - remove driver 2024-08-05 10:48:49 -07:00
cyttsp_i2c.c Input: cyttsp4 - remove driver 2024-08-05 10:48:49 -07:00
cyttsp_spi.c
da9034-ts.c
da9052_tsi.c Input: switch back to struct platform_driver::remove() 2024-10-15 11:43:25 -07:00
dynapro.c
edt-ft5x06.c Input updates for v6.13-rc0 2024-11-25 10:31:39 -08:00
eeti_ts.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
egalax_ts.c Input: Use str_enable_disable-like helpers 2025-01-14 13:41:41 -08:00
egalax_ts_serial.c
ektf2127.c
elants_i2c.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
elo.c Input: elo - use guard notation when pausing serio port 2024-10-04 00:58:16 -07:00
exc3000.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
fsl-imx25-tcq.c
fujitsu_ts.c
goodix.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
goodix.h
goodix_berlin.h
goodix_berlin_core.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
goodix_berlin_i2c.c
goodix_berlin_spi.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
goodix_fwupload.c
gunze.c
hampshire.c
hideep.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
himax_hx83112b.c Input: himax_hx83112b - fix incorrect size when reading product ID 2024-08-19 17:29:14 -07:00
hp680_ts_input.c
htcpen.c
hycon-hy46xx.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
hynitron_cstxxx.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
ili210x.c Input updates for v6.13-rc0 2024-11-25 10:31:39 -08:00
ilitek_ts_i2c.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
imagis.c Input: imagis - fix warning regarding 'imagis_3038_data' being unused 2024-10-24 18:33:23 -07:00
imx6ul_tsc.c
inexio.c
ipaq-micro-ts.c
iqs5xx.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
iqs7211.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
jornada720_ts.c
lpc32xx_ts.c
mainstone-wm97xx.c Input: switch back to struct platform_driver::remove() 2024-10-15 11:43:25 -07:00
max11801_ts.c
mc13783_ts.c Input: switch back to struct platform_driver::remove() 2024-10-15 11:43:25 -07:00
melfas_mip4.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
migor_ts.c
mk712.c
mms114.c
msg2638.c
mtouch.c
mxs-lradc-ts.c
novatek-nvt-ts.c Input updates for v6.13-rc0 2024-11-25 10:31:39 -08:00
pcap_ts.c Input: switch back to struct platform_driver::remove() 2024-10-15 11:43:25 -07:00
penmount.c
pixcir_i2c_ts.c Input updates for v6.13-rc0 2024-11-25 10:31:39 -08:00
raspberrypi-ts.c Input: raspberrypi-ts - use cleanup facility for device_node 2024-10-19 21:21:43 -07:00
raydium_i2c_ts.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
resistive-adc-touch.c
rohm_bu21023.c input: Fix typos in comments across various files 2024-09-30 07:58:33 -07:00
s6sy761.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
silead.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
sis_i2c.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
st1232.c
stmfts.c
stmpe-ts.c Input: switch back to struct platform_driver::remove() 2024-10-15 11:43:25 -07:00
sun4i-ts.c Input: switch back to struct platform_driver::remove() 2024-10-15 11:43:25 -07:00
sur40.c
surface3_spi.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
sx8654.c
ti_am335x_tsc.c Input: switch back to struct platform_driver::remove() 2024-10-15 11:43:25 -07:00
touchit213.c
touchright.c
touchwin.c
tps6507x-ts.c
ts4800-ts.c Input: ts4800-ts - use cleanup facility for device_node 2024-10-19 21:21:43 -07:00
tsc40.c
tsc200x-core.c Input: tsc2004/5 - use guard notation when acquiring mutexes/locks 2024-08-04 18:10:41 -07:00
tsc200x-core.h Input: tsc2004/5 - fix handling of VIO power supply 2024-08-04 18:10:40 -07:00
tsc2004.c Input: tsc2004/5 - fix handling of VIO power supply 2024-08-04 18:10:40 -07:00
tsc2005.c Input: tsc2004/5 - fix handling of VIO power supply 2024-08-04 18:10:40 -07:00
tsc2007.h
tsc2007_core.c
tsc2007_iio.c
usbtouchscreen.c
wacom_i2c.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
wacom_w8001.c
wdt87xx_i2c.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
wm97xx-core.c Input: switch back to struct platform_driver::remove() 2024-10-15 11:43:25 -07:00
wm831x-ts.c Input: switch back to struct platform_driver::remove() 2024-10-15 11:43:25 -07:00
wm9705.c
wm9712.c
wm9713.c
zet6223.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
zforce_ts.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
zinitix.c Input: zinitix - don't fail if linux,keycodes prop is absent 2024-10-18 16:03:04 -07:00