All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] i2c: i2c-amd-mp2: Clean up driver
@ 2021-02-01 17:51 Richard Neumann
  2021-02-01 17:51 ` [PATCH v3 1/2] i2c: i2c-amd-mp2: Remove NIH logging functions Richard Neumann
  2021-02-01 17:51 ` [PATCH v3 2/2] i2c: i2c-amd-mp2: Remove unused macro Richard Neumann
  0 siblings, 2 replies; 6+ messages in thread
From: Richard Neumann @ 2021-02-01 17:51 UTC (permalink / raw)
  To: syniurge, nehal-bakulchandra.shah, shyam-sundar.s-k, mail,
	andriy.shevchenko, linux-i2c, linux-kernel

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-02-01 22:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-01 17:51 [PATCH v3 0/2] i2c: i2c-amd-mp2: Clean up driver Richard Neumann
2021-02-01 17:51 ` [PATCH v3 1/2] i2c: i2c-amd-mp2: Remove NIH logging functions Richard Neumann
2021-02-01 18:16   ` Andy Shevchenko
2021-02-01 22:03   ` Wolfram Sang
2021-02-01 17:51 ` [PATCH v3 2/2] i2c: i2c-amd-mp2: Remove unused macro Richard Neumann
2021-02-01 22:03   ` Wolfram Sang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.