Re: [PATCH v1 4/4] serial: 8250_pci: Replace dev_*() by pci_*() macros

From: Joe Perches
Date: Tue Jul 13 2021 - 17:05:33 EST


On Tue, 2021-07-13 at 13:40 +0300, Andy Shevchenko wrote:
> PCI subsystem provides convenient shortcut macros for message printing.
> Use those macros instead of dev_*().
[]
> diff --git a/drivers/tty/serial/8250/8250_pci.c b/drivers/tty/serial/8250/8250_pci.c
[]
> @@ -4147,8 +4139,7 @@ pciserial_init_one(struct pci_dev *dev, const struct pci_device_id *ent)
>   sizeof(struct pciserial_board));
>   rc = serial_pci_guess_board(dev, &tmp);
>   if (rc == 0 && serial_pci_matches(board, &tmp))
> - moan_device("Redundant entry in serial pci_table.",
> - dev);
> + moan_device("Redundant entry in serial pci_table.", dev);

Unassociated change.