linux/drivers/pnp
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 <gomonovych@gmail.com>
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
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 PNP: remove unneeded kallsyms include 2017-12-13 01:40:44 +01:00
resource.c
support.c
system.c