Introduce a new helper to extract a year from DMI BIOS date since there are most existing users do and newcomers would utilize as well. This is a fix up series on top what had been applied already. Since v2: - resend as fix up series - address comments from Bjorn, Jean, Lukas, Rafael Since v1: - move the helper to be regular function (Bjorn, Rafael) - fix a potential regression introduced in pci_acpi_crs_quirks() (Jean) - adjust subject lines and commit message bodies (Bjorn) - add tags (Bjorn, Jean) Andy Shevchenko (2): x86/PCI: Fix a potential regression when use dmi_get_bios_year() firmware: dmi_scan: Uninline dmi_get_bios_year() helper arch/x86/pci/acpi.c | 4 +++- drivers/firmware/dmi_scan.c | 20 ++++++++++++++++++++ include/linux/dmi.h | 11 ++--------- 3 files changed, 25 insertions(+), 10 deletions(-) -- 2.16.2