[PATCH v2 0/4] x86, dmi: introduce and use dmi_get_bios_year()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Ingo, this is respin of the patches in x86/platform. I think, if it's
possible to rebase, would be easier just to replace existing ones.

Otherwise I would reorganize them as a series of fixups.

Bjorn, Jean, Rafael, thank you for your reviews!

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 (4):
  firmware: dmi_scan: Introduce the dmi_get_bios_year() helper
  x86/PCI: Simplify code by using the new dmi_get_bios_year() helper
  ACPI / sleep: Simplify code by using the new dmi_get_bios_year()
    helper
  PCI: Simplify code by using the new dmi_get_bios_year() helper

 arch/x86/pci/acpi.c            | 10 +++++-----
 arch/x86/pci/direct.c          |  5 ++---
 arch/x86/pci/mmconfig-shared.c |  9 ++-------
 drivers/acpi/sleep.c           |  4 +---
 drivers/firmware/dmi_scan.c    | 11 +++++++++++
 drivers/pci/pci.c              |  6 +-----
 include/linux/dmi.h            |  2 ++
 7 files changed, 24 insertions(+), 23 deletions(-)

-- 
2.16.1

--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux