summaryrefslogtreecommitdiff
path: root/include/linux/stringify.h
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2023-11-24 11:47:21 +0300
committerKalle Valo <kvalo@kernel.org>2023-12-01 15:41:04 +0300
commit9dcc75e0b7d05069d257108d21080d6c5abb43d6 (patch)
treecac8012d49415419303629d85e92a4ad7b735e26 /include/linux/stringify.h
parent760bfed91201299a135049f9219fd3ec8845f525 (diff)
downloadlinux-9dcc75e0b7d05069d257108d21080d6c5abb43d6.tar.xz
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 'include/linux/stringify.h')
0 files changed, 0 insertions, 0 deletions