diff options
| author | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2023-11-24 10:47:21 +0200 |
|---|---|---|
| committer | Kalle Valo <kvalo@kernel.org> | 2023-12-01 14:41:04 +0200 |
| commit | 9dcc75e0b7d05069d257108d21080d6c5abb43d6 (patch) | |
| tree | cac8012d49415419303629d85e92a4ad7b735e26 /scripts/gdb/linux/stackdepot.py | |
| parent | 760bfed91201299a135049f9219fd3ec8845f525 (diff) | |
wifi: rtlwifi: rtl8821ae: Use pci_find_capability()
Instead of open coding the capability structure search, find the PM
Capability using pci_find_capability().
While at it, rename the generic 'cap_pointer' to 'pm_cap' which makes
the intent of the code more obvious.
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20231124084725.12738-7-ilpo.jarvinen@linux.intel.com
Diffstat (limited to 'scripts/gdb/linux/stackdepot.py')
0 files changed, 0 insertions, 0 deletions
