Commit 04e82fa
committed
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 907830b ("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>1 parent e0f0a16 commit 04e82fa
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3750 | 3750 | | |
3751 | 3751 | | |
3752 | 3752 | | |
3753 | | - | |
| 3753 | + | |
3754 | 3754 | | |
3755 | 3755 | | |
3756 | 3756 | | |
3757 | | - | |
3758 | | - | |
| 3757 | + | |
| 3758 | + | |
3759 | 3759 | | |
3760 | | - | |
| 3760 | + | |
3761 | 3761 | | |
3762 | 3762 | | |
3763 | 3763 | | |
| |||
0 commit comments