linux/drivers/input/joystick
Wei Yongjun 2d8aaa1720 Input: n64joy - fix return value check in n64joy_probe()
In case of error, the function devm_platform_ioremap_resource()
returns ERR_PTR() and never returns NULL. The NULL test in the
return value check should be replaced with IS_ERR().

Fixes: 3bdffa8ffb ("Input: Add N64 controller driver")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Lauri Kasanen <cand@gmx.com>
Link: https://lore.kernel.org/r/20210308122856.2177071-1-weiyongjun1@huawei.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2021-03-09 21:41:28 -08:00
..
iforce
Kconfig
Makefile
a3d.c
adc-joystick.c
adi.c
amijoy.c
analog.c
as5011.c
cobra.c
db9.c
fsia6b.c
gamecon.c
gf2k.c
grip.c
grip_mp.c
guillemot.c
interact.c
joydump.c
magellan.c
maplecontrol.c
n64joy.c Input: n64joy - fix return value check in n64joy_probe() 2021-03-09 21:41:28 -08:00
psxpad-spi.c
pxrc.c
sidewinder.c
spaceball.c
spaceorb.c
stinger.c
tmdc.c
turbografx.c
twidjoy.c
walkera0701.c
warrior.c
xpad.c
zhenhua.c