summaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2023-09-19 15:56:46 +0300
committerBjorn Helgaas <bhelgaas@google.com>2023-10-17 20:10:31 -0500
commitd1f9b39da4a5347150246871325190018cda8cb3 (patch)
treea34c1e3cb38fa7ae51f6e4925c43b0976baa6cd3 /drivers/i2c
parent408599ec561ad5862cda4f107626009f6fa97a74 (diff)
downloadlinux-stable-d1f9b39da4a5347150246871325190018cda8cb3.tar.gz
linux-stable-d1f9b39da4a5347150246871325190018cda8cb3.tar.bz2
linux-stable-d1f9b39da4a5347150246871325190018cda8cb3.zip
PCI: Use FIELD_GET() to extract Link Width
Use FIELD_GET() to extract PCIe Negotiated and Maximum Link Width fields instead of custom masking and shifting. Link: https://lore.kernel.org/r/20230919125648.1920-7-ilpo.jarvinen@linux.intel.com Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> [bhelgaas: drop duplicate include of <linux/bitfield.h>] Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/i2c')
0 files changed, 0 insertions, 0 deletions