i2c: amd-mp2: convert to PCI logging functions
authorRichard Neumann <mail@richard-neumann.de>
Mon, 1 Feb 2021 17:51:37 +0000 (18:51 +0100)
committerWolfram Sang <wsa@kernel.org>
Mon, 1 Feb 2021 22:01:29 +0000 (23:01 +0100)
commit267e82b9592d0d97f732d65a63db12b0e0d73bd4
tree42d77b5a115875c50879cab5a6f00f9fffe0aedf
parent98d29c410475f30b627502d845794352e9be4046
i2c: amd-mp2: convert to PCI logging functions

Use pci_{info,warn,err,dbg} functions of the kernel's PCI API.
Remove unnecessary ndev_pdev(), ndev_name() and ndev_dev() macros.
While at it, remove useless __func__ from logging.

Signed-off-by: Richard Neumann <mail@richard-neumann.de>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-amd-mp2-pci.c
drivers/i2c/busses/i2c-amd-mp2-plat.c
drivers/i2c/busses/i2c-amd-mp2.h