x86/earlyprintk: Clean up pciserial
authorPeter Zijlstra <peterz@infradead.org>
Thu, 25 Aug 2022 11:36:40 +0000 (13:36 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 29 Aug 2022 10:19:25 +0000 (12:19 +0200)
commitbc12b70f7d216b36bd87701349374a13e486f8eb
tree5b78cd3a7ec6e8f55bd1ae76e911b1da2a771fdc
parentb90cb1053190353cc30f0fef0ef1f378ccc063c5
x86/earlyprintk: Clean up pciserial

While working on a GRUB patch to support PCI-serial, a number of
cleanups were suggested that apply to the code I took inspiration from.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Bjorn Helgaas <bhelgaas@google.com> # pci_ids.h
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lkml.kernel.org/r/YwdeyCEtW+wa+QhH@worktop.programming.kicks-ass.net
arch/x86/kernel/early_printk.c
include/linux/pci_ids.h