linux-stable/drivers/pnp
Heiner Kallweit b15fc7c2c8 PNP: Remove pnp_alloc()
The kernel will complain anyway if it runs out of memory, so it is
not necessary to print an extra error message when that happens and
kzalloc() can be called directly instead of pnp_alloc() which then
becomes redundant and can be dropped.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2021-05-17 16:54:01 +02:00
..
isapnp drivers: pnp: isapnp: proc.c: Remove unnecessary local variables 2021-05-17 16:47:59 +02:00
pnpacpi treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 150 2019-05-30 11:25:19 -07:00
pnpbios PNP: pnpbios: Use DEFINE_SPINLOCK() for spinlock 2021-01-22 16:22:57 +01:00
base.h PNP: Remove pnp_alloc() 2021-05-17 16:54:01 +02:00
card.c PNP: Remove pnp_alloc() 2021-05-17 16:54:01 +02:00
core.c PNP: Remove pnp_alloc() 2021-05-17 16:54:01 +02:00
driver.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
interface.c PNP: Remove pnp_alloc() 2021-05-17 16:54:01 +02:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
manager.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
quirks.c PNP: quirks: Fix duplicate included pci.h 2020-09-25 18:01:06 +02:00
resource.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
support.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
system.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00