coreboot-kgpe-d16/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
it8528e
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
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
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