diff options
author | Subrata Banik <subrata.banik@intel.com> | 2021-06-09 03:57:41 +0530 |
---|---|---|
committer | Subrata Banik <subrata.banik@intel.com> | 2021-06-16 03:48:43 +0000 |
commit | 1fcfe3d96a75d1450d7bde5c228e6cd5341db1d4 (patch) | |
tree | 11a2472d8a1bd007a2d4b3b0f3c65c4b5c4f6f91 /util/nvidia | |
parent | 6f910e24b6650da46bc45ea6bd25d426b3361752 (diff) |
soc/intel/jasperlake: 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 dedede
Signed-off-by: Subrata Banik <subrata.banik@intel.com>
Change-Id: I4919a1ec02df50bc41fd66d5f3a352108a7aa04c
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55329
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'util/nvidia')
0 files changed, 0 insertions, 0 deletions