mbox series

[v2,0/2] i2c: i2c-amd-mp2: Clean up driver

Message ID 20210129192553.55906-1-mail@richard-neumann.de
Headers show
Series i2c: i2c-amd-mp2: Clean up driver | expand

Message

Richard Neumann Jan. 29, 2021, 7:25 p.m. UTC
From: Richard Neumann <mail@richard-neumann.de>

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.

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  | 53 +++++++++++++--------------
 drivers/i2c/busses/i2c-amd-mp2-plat.c |  3 +-
 drivers/i2c/busses/i2c-amd-mp2.h      |  6 ---
 3 files changed, 27 insertions(+), 35 deletions(-)