linux_dsm_epyc7002/include/linux/input
Dmitry Torokhov bf6247a70f Input: make input_report_slot_state() return boolean
Let's make input_report_slot_state() return boolean representing whether
the contact is active or not. This will allow writing code like:

	if (input_mt_report_slot_state(input, obj->mt_tool,
					obj->type != RMI_2D_OBJECT_NONE) {

		input_event(sensor->input, EV_ABS, ABS_MT_POSITION_X, obj->x);
		input_event(sensor->input, EV_ABS, ABS_MT_POSITION_Y, obj->y);
		...
	}

instead of:

	input_mt_report_slot_state(input, obj->mt_tool,
				   obj->type != RMI_2D_OBJECT_NONE);
	if (obj->type != RMI_2D_OBJECT_NONE) {
		input_event(sensor->input, EV_ABS, ABS_MT_POSITION_X, obj->x);
		input_event(sensor->input, EV_ABS, ABS_MT_POSITION_Y, obj->y);
		...
	}

Reviewed-by: Henrik Rydberg <rydberg@bitmath.org>
Acked-by: Benjamin Tissoires <benjamin.tissoires@redaht.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2018-06-11 10:21:06 -07:00
..
ad714x.h Input: ad714x - allow platform code to specify irqflags 2011-05-16 23:20:13 -07:00
adp5589.h Input: adp5589-keys - add support for the ADP5585 derivatives 2011-10-18 21:26:55 -07:00
adxl34x.h Input: adxl34x - make platform_data include self contained 2012-12-24 09:52:42 -08:00
as5011.h Input: add Austria Microsystem AS5011 joystick driver 2011-01-10 11:01:43 -08:00
auo-pixcir-ts.h Input: auo-pixcir-ts - handle reset gpio directly 2013-02-24 19:10:10 -08:00
bu21013.h Input: bu21013_ts - move GPIO init and exit functions into the driver 2012-11-27 23:05:11 -08:00
cma3000.h
cy8ctmg110_pdata.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
cyttsp.h Input: cyttsp - switch to using device properties 2016-01-27 14:32:48 -08:00
gp2ap002a00f.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ili210x.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
kxtj9.h Input: kxtj9 - who_am_i check value and initial data rate fixes 2012-03-16 22:49:32 -07:00
lm8333.h Input: add support for LM8333 keypads 2012-04-04 09:25:39 -07:00
matrix_keypad.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mt.h Input: make input_report_slot_state() return boolean 2018-06-11 10:21:06 -07:00
navpoint.h Input: Add Synaptics NavPoint (PXA27x SSP/SPI) driver 2012-05-10 22:12:39 -07:00
samsung-keypad.h Input: samsung-keypad - enable compiling on other platforms 2011-11-15 09:46:14 -08:00
sh_keysc.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
sparse-keymap.h Input: sparse-keymap - remove sparse_keymap_free() 2017-05-29 20:02:01 -07:00
touchscreen.h Input: of_touchscreen - add support for inverted / swapped axes 2016-07-15 14:50:53 -07:00
tps6507x-ts.h Input: tps6507x-ts - remove vref from platform data 2013-06-25 09:47:35 -07:00