diff options
author | Angel Pons <th3fanbus@gmail.com> | 2020-11-02 13:40:11 +0100 |
---|---|---|
committer | Angel Pons <th3fanbus@gmail.com> | 2020-11-03 19:09:34 +0000 |
commit | 3d8b6e25bbb688fee09f540ef331f4846b688669 (patch) | |
tree | 2a6356f4718b58e3cb0e6f6f0b3d403d53834cb7 /.clang-format | |
parent | bf355e7159b3c812f748e366fdffdf0eade77e9d (diff) |
sb/intel/bd82x6x/sata.c: Replace bad uses of `find_resource`
The `find_resource` function will never return null (will die instead).
Given that the existing code gracefully handles null pointers already,
it is reasonable to replace these function calls with `probe_resource`.
Change-Id: Ibd8f5ebd561cbde22ce5cd83de8270177bad1344
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47101
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions