2021-02-01 17:56:11

by Richard Neumann

[permalink] [raw]
Subject: [PATCH v3 0/2] i2c: i2c-amd-mp2: Clean up driver

Clean up i2c-amd-mp2-{pci,plat} drivers:
* Use pci_* logging functions provided by the kernel's PCI API.
* Remove unused macros.
* Remove useless __func__ from logging.

Changes since v1:
* Remove useless __func__ from logging.
* Assign pci_dev to local variable where applicable.

Changes since v2:
* Remove duplicate local pointer to pci_dev.

Richard Neumann (2):
i2c: i2c-amd-mp2: Remove NIH logging functions
i2c: i2c-amd-mp2: Remove unused macro

drivers/i2c/busses/i2c-amd-mp2-pci.c | 55 +++++++++++----------------
drivers/i2c/busses/i2c-amd-mp2-plat.c | 3 +-
drivers/i2c/busses/i2c-amd-mp2.h | 6 ---
3 files changed, 24 insertions(+), 40 deletions(-)

--
2.30.0