public inbox for linux-amlogic@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH v1 0/6] spi: Remove the use of dev_err_probe()
@ 2025-08-19  9:20 Xichao Zhao
  2025-08-19  9:20 ` [PATCH v1 2/6] spi: SPISG: " Xichao Zhao
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Xichao Zhao @ 2025-08-19  9:20 UTC (permalink / raw)
  To: Raju Rangoju, Mark Brown, Sunny Luo, Xianwei Zhao, Conor Dooley,
	Daire McNamara, Matthias Brugger, AngeloGioacchino Del Regno,
	Daniel Mack, Haojian Zhuang, Robert Jarzmik, Andi Shyti,
	Tudor Ambarus, Krzysztof Kozlowski, Alim Akhtar,
	open list:AMD SPI DRIVER, open list,
	open list:AMLOGIC SPISG DRIVER,
	open list:RISC-V MICROCHIP FPGA SUPPORT,
	moderated list:ARM/Mediatek SoC support,
	moderated list:ARM/Mediatek SoC support,
	open list:SAMSUNG SPI DRIVERS
  Cc: Xichao Zhao

The dev_err_probe() doesn't do anything when error is '-ENOMEM'. Therefore,
remove the useless call to dev_err_probe(), and just return the value instead.

Xichao Zhao (6):
  spi: spi_amd: Remove the use of dev_err_probe()
  spi: SPISG: Remove the use of dev_err_probe()
  spi: Remove the use of dev_err_probe()
  spi: mt65xx: Remove the use of dev_err_probe()
  spi: pxa2xx: Remove the use of dev_err_probe()
  spi: s3c64xx: Remove the use of dev_err_probe()

 drivers/spi/spi-amd-pci.c             | 5 ++---
 drivers/spi/spi-amd.c                 | 2 +-
 drivers/spi/spi-amlogic-spisg.c       | 2 +-
 drivers/spi/spi-microchip-core-qspi.c | 3 +--
 drivers/spi/spi-microchip-core.c      | 3 +--
 drivers/spi/spi-mt65xx.c              | 2 +-
 drivers/spi/spi-pxa2xx.c              | 2 +-
 drivers/spi/spi-s3c64xx.c             | 3 +--
 8 files changed, 9 insertions(+), 13 deletions(-)

-- 
2.34.1


_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

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

end of thread, other threads:[~2025-10-09  1:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-19  9:20 [PATCH v1 0/6] spi: Remove the use of dev_err_probe() Xichao Zhao
2025-08-19  9:20 ` [PATCH v1 2/6] spi: SPISG: " Xichao Zhao
2025-08-19 18:52 ` [PATCH v1 0/6] spi: " Mark Brown
2025-10-09  1:07 ` patchwork-bot+linux-riscv

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox