coreboot/src/superio/ite
Angel Pons c167b74868 superio: 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: Ic6e28add78f686fc9ab4556eddbedf7828fba9ef
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58909
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
2021-11-04 17:36:32 +00:00
..
common superio/ite: Distinguish between chips for PECI readings 2020-09-22 01:11:02 +00:00
it8528e src/superio: Drop unneeded empty lines 2020-08-24 09:14:42 +00:00
it8613e superio: Replace bad uses of find_resource 2021-11-04 17:36:32 +00:00
it8623e superio: Replace bad uses of find_resource 2021-11-04 17:36:32 +00:00
it8712f treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
it8718f superio: Replace bad uses of find_resource 2021-11-04 17:36:32 +00:00
it8720f superio: Replace bad uses of find_resource 2021-11-04 17:36:32 +00:00
it8721f superio/ite: Distinguish between chips for PECI readings 2020-09-22 01:11:02 +00:00
it8728f superio: Replace bad uses of find_resource 2021-11-04 17:36:32 +00:00
it8772f superio: Replace bad uses of find_resource 2021-11-04 17:36:32 +00:00
it8783ef superio: Replace bad uses of find_resource 2021-11-04 17:36:32 +00:00
it8786e superio: Replace bad uses of find_resource 2021-11-04 17:36:32 +00:00
Makefile.inc superio/*/Makefiles: Remove non-existing directory inclusion 2020-08-13 17:43:32 +00:00