mirror-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
Kconfig
Makefile
ad7877.c
ad7879-i2c.c
ad7879-spi.c
ad7879.c
ad7879.h
ads7846.c Merge branch 'next' into for-linus 2024-07-15 14:03:44 -07:00
ar1021_i2c.c
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
bcm_iproc_tsc.c
bu21013_ts.c
bu21029_ts.c
chipone_icn8318.c
chipone_icn8505.c
colibri-vf50-ts.c
cy8ctma140.c
cy8ctmg110_ts.c
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
cyttsp4_spi.c
cyttsp5.c
cyttsp_core.c
cyttsp_core.h
cyttsp_i2c.c
cyttsp_i2c_common.c Input: add missing MODULE_DESCRIPTION() macros 2024-06-09 14:38:48 -07:00
cyttsp_spi.c
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
egalax_ts.c
egalax_ts_serial.c Input: touchscreen - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:38 -07:00
ektf2127.c Input: ektf2127 - add ektf2232 support 2024-06-22 00:58:44 -07:00
elants_i2c.c
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.c
goodix.h
goodix_berlin.h
goodix_berlin_core.c
goodix_berlin_i2c.c
goodix_berlin_spi.c Input: goodix_berlin - use __free() cleanup in SPI transport 2024-06-28 15:09:05 -07:00
goodix_fwupload.c
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
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
hynitron_cstxxx.c
ili210x.c Merge branch 'next' into for-linus 2024-07-15 14:03:44 -07:00
ilitek_ts_i2c.c
imagis.c Input: imagis - add supports for Imagis IST3038 2024-07-08 16:22:48 -07:00
imx6ul_tsc.c
inexio.c Input: touchscreen - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:38 -07:00
ipaq-micro-ts.c
iqs5xx.c
iqs7211.c
jornada720_ts.c
lpc32xx_ts.c
mainstone-wm97xx.c
max11801_ts.c
mc13783_ts.c
mcs5000_ts.c
melfas_mip4.c
migor_ts.c
mk712.c
mms114.c
msg2638.c
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
pcap_ts.c
penmount.c Input: touchscreen - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:38 -07:00
pixcir_i2c_ts.c
raspberrypi-ts.c
raydium_i2c_ts.c
resistive-adc-touch.c
rohm_bu21023.c Input: rohm_bu21023 - switch to using cleanup functions 2024-06-28 15:14:41 -07:00
s6sy761.c
silead.c
sis_i2c.c
st1232.c
stmfts.c
stmpe-ts.c
sun4i-ts.c
sur40.c Input: touchscreen - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:38 -07:00
surface3_spi.c
sx8654.c
ti_am335x_tsc.c
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
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
tsc200x-core.h
tsc2004.c
tsc2005.c
tsc2007.h
tsc2007_core.c
tsc2007_iio.c
usbtouchscreen.c Input: touchscreen - use sizeof(*pointer) instead of sizeof(type) 2024-06-09 14:38:38 -07:00
wacom_i2c.c
wacom_w8001.c Input: wacom_w8001 - use "guard" notation when acquiring mutex 2024-06-28 15:06:29 -07:00
wdt87xx_i2c.c
wm97xx-core.c
wm831x-ts.c
wm9705.c
wm9712.c
wm9713.c
zet6223.c
zforce_ts.c
zinitix.c