android_kernel_xiaomi_sm8350/drivers/input/serio
Jonathan Corbet 60aa49243d Rationalize fasync return values
Most fasync implementations do something like:

     return fasync_helper(...);

But fasync_helper() will return a positive value at times - a feature used
in at least one place.  Thus, a number of other drivers do:

     err = fasync_helper(...);
     if (err < 0)
             return err;
     return 0;

In the interests of consistency and more concise code, it makes sense to
map positive return values onto zero where ->fasync() is called.

Cc: Al Viro <viro@ZenIV.linux.org.uk>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
2009-03-16 08:34:35 -06:00
..
ambakmi.c Input: ambakmi - fix timeout handling in amba_kmi_write() 2009-02-01 16:58:18 -08:00
at32psif.c
ct82c710.c
gscps2.c Input: struct device - replace bus_id with dev_name(), dev_set_name() 2009-01-29 23:00:44 -08:00
hil_mlc.c Input: HIL drivers - add MODULE_ALIAS() 2008-12-30 00:57:12 -08:00
hp_sdc_mlc.c
hp_sdc.c HP input: kill warnings due to suseconds_t differences 2008-10-14 10:23:27 -07:00
i8042-io.h powerpc: convert CONFIG_PPC_MERGE to CONFIG_PPC for legacy io checks 2008-09-23 10:41:28 -05:00
i8042-ip22io.h
i8042-jazzio.h
i8042-ppcio.h
i8042-snirm.h
i8042-sparcio.h sparc: Annotate of_device_id arrays with const or __initdata. 2008-08-31 01:23:17 -07:00
i8042-x86ia64io.h Input: i8042 - add Dell Vostro 1510 to nomux list 2009-01-06 01:38:52 -08:00
i8042.c
i8042.h
Kconfig [ARM] clps7500: remove support 2008-11-27 12:38:11 +00:00
libps2.c Input: libps2 - handle 0xfc responses from devices 2008-11-24 11:43:21 -05:00
maceps2.c
Makefile
parkbd.c
pcips2.c Input: struct device - replace bus_id with dev_name(), dev_set_name() 2008-10-30 09:29:05 -04:00
q40kbd.c
rpckbd.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
sa1111ps2.c Input: struct device - replace bus_id with dev_name(), dev_set_name() 2009-01-29 23:00:44 -08:00
serio_raw.c Rationalize fasync return values 2009-03-16 08:34:35 -06:00
serio.c Input: struct device - replace bus_id with dev_name(), dev_set_name() 2008-10-30 09:29:05 -04:00
serport.c
xilinx_ps2.c Input: xilinx_ps2 - various cleanups 2008-10-27 22:23:32 -04:00