android_kernel_motorola_sm6375/drivers/pnp
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Vasyl Gomonovych 846583ce15 PNP: pnpbios: Use PTR_ERR_OR_ZERO()
Fix ptr_ret.cocci warnings:
drivers/pnp/pnpbios/core.c:584:1-3: WARNING: PTR_ERR_OR_ZERO can be used

Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR

Generated by: scripts/coccinelle/api/ptr_ret.cocci

Signed-off-by: Vasyl Gomonovych <[email protected]>
Reviewed-by: Jean Delvare <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
2017-12-16 02:59:45 +01:00
..
isapnp
pnpacpi
pnpbios PNP: pnpbios: Use PTR_ERR_OR_ZERO() 2017-12-16 02:59:45 +01:00
base.h
card.c
core.c
driver.c
interface.c
Kconfig
Makefile
manager.c
quirks.c
resource.c
support.c
system.c