x86/pci: Simplify code by using the new dmi_get_bios_year() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 22 Feb 2018 12:59:21 +0000 (14:59 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 23 Feb 2018 07:20:30 +0000 (08:20 +0100)
commit69c42d493db452ea87c1ac56e83c978512f4e6ec
treedcb52fc7360e5e8dc8f1d47b8ee2acb9fa44bbdf
parent492a1abd61e4b4f78c1c5804840a304a9e32da04
x86/pci: Simplify code by using the new dmi_get_bios_year() helper

...instead of open coding its functionality.

No changes in functionality.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Jean Delvare <jdelvare@suse.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rafael J. Wysocki <rjw@rjwysocki.net>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-acpi@vger.kernel.org
Cc: linux-pci@vger.kernel.org
Link: http://lkml.kernel.org/r/20180222125923.57385-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/pci/acpi.c
arch/x86/pci/direct.c
arch/x86/pci/mmconfig-shared.c