coreboot/src/acpi
Angel Pons 32d09be655 treewide: Replace bad uses of find_resource
The `find_resource` function will never return null (will die instead).
In cases where the existing code already accounts for null pointers, it
is better to use `probe_resource` instead, which returns a null pointer
instead of dying.

Change-Id: I329efcb42a444b097794fde4f40acf5ececaea8c
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58910
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Lance Zhao
2021-11-04 17:37:13 +00:00
..
acpi.c treewide: Replace bad uses of find_resource 2021-11-04 17:37:13 +00:00
acpi_pm.c ACPI: Add helpers for CBMEM_ID_POWER_STATE 2021-01-23 20:31:09 +00:00
acpigen.c acpi/acpigen.c: Remove weak gpio definition 2021-10-29 00:52:50 +00:00
acpigen_dptf.c acpi/acpigen_dptf: Add TPCH participant for dptf 2021-10-01 18:34:55 +00:00
acpigen_dsm.c acpi/acpigen.h: Add more intuitive AML package closing functions 2021-03-22 11:21:55 +00:00
acpigen_extern.asl ACPI: Refactor use of global and device NVS 2021-06-14 19:45:56 +00:00
acpigen_pci.c acpi: Add acpigen_write_PRT* helpers for generating _PRT entries 2021-03-24 16:08:57 +00:00
acpigen_ps2_keybd.c arch/x86/acpi: rename KEY_KBDILLUMTOGGLE to KEY_KBD_BKLIGHT_TOGGLE 2021-08-06 16:26:44 +00:00
acpigen_usb.c acpi: Skip writing references for disabled devices in Type-C config 2020-10-20 21:29:53 +00:00
device.c src/acpi to src/lib: Fix spelling errors 2021-10-05 18:06:39 +00:00
dsdt_top.asl ChromeOS: Use CHROMEOS_NVS guard 2021-04-21 09:27:31 +00:00
gnvs.c ACPI: Refactor use of global and device NVS 2021-06-14 19:45:56 +00:00
Kconfig ACPI: Refactor use of global and device NVS 2021-06-14 19:45:56 +00:00
Makefile.inc vc/google/chromeos: Refactor GNVS init 2021-04-30 06:46:07 +00:00
pld.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
sata.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
soundwire.c src/acpi/soundwire.c: Add missing <stddef.h> 2020-07-14 16:10:43 +00:00