diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2023-10-10 15:44:28 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2023-10-24 10:54:04 -0500 |
commit | 04e82fa5951ca66495d7b05665eff673aa3852b4 (patch) | |
tree | 3e1f252bd86a98a98bd438a106dfad773bc16132 /drivers/watchdog/sp5100_tco.c | |
parent | e0f0a16f5ff3670f2b26f0ef4b8fd5c55ebefd81 (diff) | |
download | linux-stable-04e82fa5951ca66495d7b05665eff673aa3852b4.tar.gz linux-stable-04e82fa5951ca66495d7b05665eff673aa3852b4.tar.bz2 linux-stable-04e82fa5951ca66495d7b05665eff673aa3852b4.zip |
PCI: Use FIELD_GET() in Sapphire RX 5600 XT Pulse quirk
Use FIELD_GET() to remove dependences on the field position, i.e., the
shift value. No functional change intended.
Separate because this isn't as trivial as the other FIELD_GET() changes.
See 907830b0fc9e ("PCI: Add a REBAR size quirk for Sapphire RX 5600 XT
Pulse")
Link: https://lore.kernel.org/r/20231010204436.1000644-3-helgaas@kernel.org
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Cc: Nirmoy Das <nirmoy.das@amd.com>
Diffstat (limited to 'drivers/watchdog/sp5100_tco.c')
0 files changed, 0 insertions, 0 deletions