summaryrefslogtreecommitdiff
path: root/drivers/dio
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2023-09-19 15:56:45 +0300
committerBjorn Helgaas <bhelgaas@google.com>2023-10-10 23:00:52 +0300
commit408599ec561ad5862cda4f107626009f6fa97a74 (patch)
tree2af70aa98bb362e24a37516e881dfd45fd642294 /drivers/dio
parent759574abd78e3b47ec45bbd31a64e8832cf73f97 (diff)
downloadlinux-408599ec561ad5862cda4f107626009f6fa97a74.tar.xz
PCI: mvebu: Use FIELD_PREP() with Link Width
mvebu_pcie_setup_hw() setups the Maximum Link Width field in the Link Capabilities registers using an open-coded variant of FIELD_PREP() with a literal in shift. Improve readability by using FIELD_PREP(PCI_EXP_LNKCAP_MLW, ...). Link: https://lore.kernel.org/r/20230919125648.1920-6-ilpo.jarvinen@linux.intel.com Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/dio')
0 files changed, 0 insertions, 0 deletions