linux/drivers/input/touchscreen
Linus Torvalds cb04e8b1d2 minmax: don't use max() in situations that want a C constant expression
We only had a couple of array[] declarations, and changing them to just
use 'MAX()' instead of 'max()' fixes the issue.

This will allow us to simplify our min/max macros enormously, since they
can now unconditionally use temporary variables to avoid using the
argument values multiple times.

Cc: David Laight <David.Laight@aculab.com>
Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2024-07-28 20:23:27 -07:00
..
88pm860x-ts.c
ad7877.c Input: ad7877 - use device core to create driver-specific device attributes 2023-09-06 14:23:47 -07:00
ad7879-i2c.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
ad7879-spi.c Input: ad7879 - use device core to create driver-specific device attributes 2023-09-06 14:23:47 -07:00
ad7879.c Input: ad7879 - use device core to create driver-specific device attributes 2023-09-06 14:23:47 -07:00
ad7879.h Input: ad7879 - use device core to create driver-specific device attributes 2023-09-06 14:23:47 -07:00
ads7846.c Merge branch 'next' into for-linus 2024-07-15 14:03:44 -07:00
ar1021_i2c.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
atmel_mxt_ts.c Input: atmel_mxt_ts - use driver core to instantiate device attributes 2024-07-12 17:15:08 -07:00
auo-pixcir-ts.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
bcm_iproc_tsc.c Input: bcm_iproc_tsc - drop of_match_ptr for ID table 2023-03-17 04:17:37 -07:00
bu21013_ts.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
bu21029_ts.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
chipone_icn8318.c Input: chipone_icn8318 - simplify with dev_err_probe() 2023-07-07 16:54:28 -07:00
chipone_icn8505.c Input: chipone_icn8505 - remove an unused field in struct icn8505_data 2024-05-13 14:09:57 -07:00
colibri-vf50-ts.c
cy8ctma140.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
cy8ctmg110_ts.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
cyttsp4_core.c minmax: don't use max() in situations that want a C constant expression 2024-07-28 20:23:27 -07:00
cyttsp4_core.h
cyttsp4_i2c.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
cyttsp4_spi.c Input: cyttsp4 - use EXPORT_GPL_RUNTIME_DEV_PM_OPS() 2023-01-27 14:49:53 -08:00
cyttsp5.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
cyttsp_core.c Input: cyttsp - use EXPORT_GPL_SIMPLE_DEV_PM_OPS() 2023-01-27 14:49:53 -08:00
cyttsp_core.h
cyttsp_i2c_common.c Input: add missing MODULE_DESCRIPTION() macros 2024-06-09 14:38:48 -07:00
cyttsp_i2c.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
cyttsp_spi.c Input: cyttsp - use EXPORT_GPL_SIMPLE_DEV_PM_OPS() 2023-01-27 14:49:53 -08:00
da9034-ts.c
da9052_tsi.c Input: touchscreen - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:38 -07:00
dynapro.c Input: touchscreen - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:38 -07:00
edt-ft5x06.c Input: edt-ft5x06 - add ft5426 2024-06-22 01:29:17 -07:00
eeti_ts.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
egalax_ts_serial.c Input: touchscreen - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:38 -07:00
egalax_ts.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
ektf2127.c Input: ektf2127 - add ektf2232 support 2024-06-22 00:58:44 -07:00
elants_i2c.c Input: elants_i2c - use device core to create driver-specific device attributes 2023-09-06 14:27:18 -07:00
elo.c Input: touchscreen - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:38 -07:00
exc3000.c Input: exc3000 - add EXC81W32 support 2024-07-11 09:58:35 -07:00
fsl-imx25-tcq.c Input: fsl-imx25-tcq - constify struct regmap_config 2024-07-08 10:01:19 -07:00
fujitsu_ts.c Input: touchscreen - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:38 -07:00
goodix_berlin_core.c Input: add core support for Goodix Berlin Touchscreen IC 2024-01-30 15:16:32 -08:00
goodix_berlin_i2c.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
goodix_berlin_spi.c Input: goodix_berlin - use __free() cleanup in SPI transport 2024-06-28 15:09:05 -07:00
goodix_berlin.h Input: add core support for Goodix Berlin Touchscreen IC 2024-01-30 15:16:32 -08:00
goodix_fwupload.c Input: goodix - fix memory leak in goodix_firmware_upload 2021-12-09 21:20:29 -08:00
goodix.c Linux 6.9 2024-05-27 21:37:18 -07:00
goodix.h Input: goodix - fix race on driver unbind 2022-02-28 23:26:30 -08:00
gunze.c Input: touchscreen - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:38 -07:00
hampshire.c Input: touchscreen - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:38 -07:00
hideep.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
himax_hx83112b.c Input: himax_hx83112b - add support for HX83100A 2024-07-08 16:22:50 -07:00
hp680_ts_input.c
htcpen.c
hycon-hy46xx.c Input: touchscreen - use sysfs_emit[_at]() instead of scnprintf() 2023-12-13 21:26:11 -08:00
hynitron_cstxxx.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
ili210x.c Merge branch 'next' into for-linus 2024-07-15 14:03:44 -07:00
ilitek_ts_i2c.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
imagis.c Input: imagis - add supports for Imagis IST3038 2024-07-08 16:22:48 -07:00
imx6ul_tsc.c Input: imx6ul_tsc - switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() 2023-01-09 20:25:26 -08:00
inexio.c Input: touchscreen - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:38 -07:00
ipaq-micro-ts.c Input: ipaq-micro-ts - fix DEFINE_SIMPLE_DEV_PM_OPS typo 2023-01-27 14:52:06 -08:00
iqs5xx.c Input: touchscreen - use sysfs_emit[_at]() instead of scnprintf() 2023-12-13 21:26:11 -08:00
iqs7211.c Input: touchscreen - use sysfs_emit[_at]() instead of scnprintf() 2023-12-13 21:26:11 -08:00
jornada720_ts.c
Kconfig Input: goodix-berlin - add SPI support for Goodix Berlin Touchscreen IC 2024-01-30 15:16:32 -08:00
lpc32xx_ts.c Input: lpc32xx_ts - convert to use devm_* api 2023-07-10 17:44:30 -07:00
mainstone-wm97xx.c Input: mainstone-wm97xx - convert to platform remove callback returning void 2023-09-23 19:28:15 -07:00
Makefile Input: goodix-berlin - add SPI support for Goodix Berlin Touchscreen IC 2024-01-30 15:16:32 -08:00
max11801_ts.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
mc13783_ts.c Input: mc13783_ts - convert to platform remove callback returning void 2023-09-23 19:28:15 -07:00
mcs5000_ts.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
melfas_mip4.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
migor_ts.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
mk712.c
mms114.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
msg2638.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
mtouch.c Input: touchscreen - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:38 -07:00
mxs-lradc-ts.c
novatek-nvt-ts.c Input: novatek-nvt-ts - add touchscreen model number to description 2023-07-10 11:50:38 -07:00
pcap_ts.c Input: pcap_ts - convert to platform remove callback returning void 2023-09-23 19:28:16 -07:00
penmount.c Input: touchscreen - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:38 -07:00
pixcir_i2c_ts.c Input: Explicitly include correct DT includes 2023-07-17 10:03:07 -07:00
raspberrypi-ts.c Input: raspberrypi-ts - fix refcount leak in rpi_ts_probe 2023-04-13 23:08:11 -07:00
raydium_i2c_ts.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
resistive-adc-touch.c Input: resistive-adc-touch - simplify with dev_err_probe() 2023-07-07 16:54:29 -07:00
rohm_bu21023.c Input: rohm_bu21023 - switch to using cleanup functions 2024-06-28 15:14:41 -07:00
s6sy761.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
silead.c Input: silead - Always support 10 fingers 2024-06-03 11:10:08 +02:00
sis_i2c.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
st1232.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
stmfts.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
stmpe-ts.c Input: stmpe-ts - convert to platform remove callback returning void 2023-09-23 19:28:16 -07:00
sun4i-ts.c Input: sun4i-ts - convert to platform remove callback returning void 2023-09-23 19:28:16 -07:00
sur40.c Input: touchscreen - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:38 -07:00
surface3_spi.c Input: surface3_spi - simplify with dev_err_probe() 2023-07-07 16:54:30 -07:00
sx8654.c Input: sx8643 - simplify with dev_err_probe() 2023-07-07 16:54:30 -07:00
ti_am335x_tsc.c Input: ti_am335x_tsc - remove redundant assignment to variable config 2024-02-09 10:53:24 -08:00
touchit213.c Input: touchscreen - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:38 -07:00
touchright.c Input: touchscreen - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:38 -07:00
touchwin.c Input: touchscreen - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:38 -07:00
tps6507x-ts.c Input: tps6507x-ts - remove variable loops 2022-10-24 05:18:55 -07:00
ts4800-ts.c
tsc40.c Input: touchscreen - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:38 -07:00
tsc200x-core.c Input: tsc2004/5 - use device core to create driver-specific device attributes 2023-09-06 14:29:03 -07:00
tsc200x-core.h Input: tsc2004/5 - use device core to create driver-specific device attributes 2023-09-06 14:29:03 -07:00
tsc2004.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
tsc2005.c Input: tsc2004/5 - use device core to create driver-specific device attributes 2023-09-06 14:29:03 -07:00
tsc2007_core.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
tsc2007_iio.c
tsc2007.h
usbtouchscreen.c Input: touchscreen - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:38 -07:00
wacom_i2c.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
wacom_w8001.c Input: wacom_w8001 - use "guard" notation when acquiring mutex 2024-06-28 15:06:29 -07:00
wdt87xx_i2c.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
wm97xx-core.c Input: wm97xx-core - convert to platform remove callback returning void 2023-09-23 19:28:17 -07:00
wm831x-ts.c Input: wm831x-ts - convert to platform remove callback returning void 2023-09-23 19:28:17 -07:00
wm9705.c
wm9712.c
wm9713.c
zet6223.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
zforce_ts.c Input: drop explicit initialization of struct i2c_device_id::driver_data to 0 2024-05-13 15:43:19 -07:00
zinitix.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00