linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] i2c: i2c-amd-mp2: Clean up driver
@ 2021-01-29 19:25 mail
  2021-01-29 19:25 ` [PATCH v2 1/2] i2c: i2c-amd-mp2: Remove NIH logging functions mail
  2021-01-29 19:25 ` [PATCH v2 2/2] i2c: i2c-amd-mp2: Remove unused macro mail
  0 siblings, 2 replies; 5+ messages in thread
From: mail @ 2021-01-29 19:25 UTC (permalink / raw)
  To: syniurge, nehal-bakulchandra.shah, shyam-sundar.s-k, mail,
	andriy.shevchenko, linux-i2c, linux-kernel

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(-)

-- 
2.30.0


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

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

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-29 19:25 [PATCH v2 0/2] i2c: i2c-amd-mp2: Clean up driver mail
2021-01-29 19:25 ` [PATCH v2 1/2] i2c: i2c-amd-mp2: Remove NIH logging functions mail
2021-02-01 10:37   ` Andy Shevchenko
2021-01-29 19:25 ` [PATCH v2 2/2] i2c: i2c-amd-mp2: Remove unused macro mail
2021-02-01 10:38   ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).