diff options
author | Subrata Banik <subrata.banik@intel.com> | 2021-06-09 04:14:50 +0530 |
---|---|---|
committer | Subrata Banik <subrata.banik@intel.com> | 2021-06-16 03:49:51 +0000 |
commit | 50134eccbdf4878f03e64b8085832a86c5b928f0 (patch) | |
tree | 4cc7fb1ebc8c5c7b80dfa10dd8fd41c84eadc3f8 /Documentation/lib | |
parent | 5b81b8890221d5929d742ffd2b25b55e0ade3185 (diff) |
soc/intel/alderlake: Make use of is_devfn_enabled() function
1. Replace all pcidev_path_on_root() and is_dev_enabled() functions
combination with is_devfn_enabled().
2. Remove unused local variable of device structure type
(struct device *).
3. Replace pcidev_path_on_root() and dev->enabled check with
is_devfn_enabled() call.
TEST=Able to build and boot without any regression seen on ADL.
Change-Id: I92671992ec14fd2adca1635b0791ac8b456332e9
Signed-off-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55292
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'Documentation/lib')
0 files changed, 0 insertions, 0 deletions