linux_dsm_epyc7002/drivers/input
Javier Martinez Canillas d6f0c3d3a8 Input: cyttsp - use PTR_ERR_OR_ZERO()
The PTR_ERR_OR_ZERO() helper function checks if a pointer contains an
errno code and returns it or return 0 if that's not the case. Use the
helper instead of open coding the same logic in the driver. This was
found with make coccicheck that complains with the following warning:

drivers/input/touchscreen/cyttsp4_i2c.c:53:1-3: WARNING: PTR_ERR_OR_ZERO can be used

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2015-10-02 11:44:19 -07:00
..
gameport x86/asm/tsc: Rename native_read_tsc() to rdtsc() 2015-07-06 15:23:28 +02:00
joystick Linux 4.3-rc3 2015-09-29 16:28:52 -07:00
keyboard Input: goldfish - allow compile the driver with COMPILE_TEST 2015-10-02 11:44:16 -07:00
misc Input: kxtj9 - remove unneeded retval variable 2015-10-02 11:44:17 -07:00
mouse Merge branch 'next' into for-linus 2015-09-11 09:02:36 -07:00
serio Input: i8042 - lower log level for "no controller" message 2015-09-05 11:11:48 -07:00
tablet Input: gtco - use sign_extend32() for sign extension 2015-01-26 23:07:45 -08:00
touchscreen Input: cyttsp - use PTR_ERR_OR_ZERO() 2015-10-02 11:44:19 -07:00
apm-power.c
evbug.c
evdev.c Input: evdev - do not report errors form flush() 2015-09-03 23:38:23 -07:00
ff-core.c Input: ff-core - silence an underflow warning 2015-09-29 16:09:36 -07:00
ff-memless.c [media] fixp-arith: replace sin/cos table by a better precision one 2015-03-02 14:50:06 -03:00
input-compat.c
input-compat.h
input-leds.c Input: LEDs - skip unnamed LEDs 2015-07-24 09:11:01 -07:00
input-mt.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2015-04-14 18:25:15 -07:00
input-polldev.c
input.c Input: do not emit unneeded EV_SYN when suspending 2015-08-07 14:55:38 -07:00
joydev.c Input: joydev - use memdup_user() to duplicate memory from user-space 2015-10-02 11:44:16 -07:00
Kconfig Input: export LEDs as class devices in sysfs 2015-06-11 18:18:11 -07:00
Makefile Input: export LEDs as class devices in sysfs 2015-06-11 18:18:11 -07:00
matrix-keymap.c
mousedev.c
sparse-keymap.c