All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] drm/mipi-dsi: Make remove callback return void
@ 2022-07-08  9:49 Uwe Kleine-König
  2022-07-08  9:49 ` [PATCH 1/3] drm/panel: simple: Make panel_simple_remove() " Uwe Kleine-König
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Uwe Kleine-König @ 2022-07-08  9:49 UTC (permalink / raw)
  To: Thierry Reding, Sam Ravnborg, Linus Walleij, Jagan Teki,
	Andrzej Hajda, Neil Armstrong, Robert Foss, Laurent Pinchart,
	Jonas Karlman, Jernej Skrabec, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, Jerry Han, Icenowy Zheng, Guido Günther,
	Purism Kernel Team, Sumit Semwal, Robert Chiras, Ondrej Jirman
  Cc: dri-devel, kernel

Hello,

the intention of this patch series is to make it obvious to mipi-dsi
driver authors that they cannot rely on the mipi-dsi (or driver) core to
handle errors that occur at remove time. This is done by changing the
return type of the remove callback from int to void.

The first two patches make two drivers (obviously) always return zero.
Then in the final patch only return 0 are dropped and so it's easier to
see that there are no side effects.

A positive side effect of the last patch is that mipi_dsi_drv_remove()
now obviously always returns zero, which in turn prepares making driver
core remove functions return void.

Best regards
Uwe

Uwe Kleine-König (3):
  drm/panel: simple: Make panel_simple_remove() return void
  drm/panel-novatek-nt35510: Emit an error message if power off fails
  drm/mipi-dsi: Make remove callback return void

 drivers/gpu/drm/bridge/chipone-icn6211.c             |  4 +---
 drivers/gpu/drm/bridge/tc358762.c                    |  4 +---
 drivers/gpu/drm/bridge/tc358764.c                    |  4 +---
 drivers/gpu/drm/drm_mipi_dsi.c                       |  4 +++-
 drivers/gpu/drm/panel/panel-asus-z00t-tm5p5-n35596.c |  4 +---
 drivers/gpu/drm/panel/panel-boe-bf060y8m-aj0.c       |  4 +---
 drivers/gpu/drm/panel/panel-boe-himax8279d.c         |  4 +---
 drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c       |  4 +---
 drivers/gpu/drm/panel/panel-dsi-cm.c                 |  4 +---
 drivers/gpu/drm/panel/panel-elida-kd35t133.c         |  4 +---
 drivers/gpu/drm/panel/panel-feixin-k101-im2ba02.c    |  4 +---
 .../gpu/drm/panel/panel-feiyang-fy07024di26a30d.c    |  4 +---
 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c        |  4 +---
 drivers/gpu/drm/panel/panel-innolux-p079zca.c        |  4 +---
 drivers/gpu/drm/panel/panel-jdi-fhd-r63452.c         |  4 +---
 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c       |  4 +---
 drivers/gpu/drm/panel/panel-khadas-ts050.c           |  4 +---
 drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c   |  4 +---
 drivers/gpu/drm/panel/panel-leadtek-ltk050h3146w.c   |  4 +---
 drivers/gpu/drm/panel/panel-leadtek-ltk500hd1829.c   |  4 +---
 drivers/gpu/drm/panel/panel-mantix-mlaf057we51.c     |  4 +---
 drivers/gpu/drm/panel/panel-novatek-nt35510.c        |  7 ++++---
 drivers/gpu/drm/panel/panel-novatek-nt35560.c        |  4 +---
 drivers/gpu/drm/panel/panel-novatek-nt35950.c        |  4 +---
 drivers/gpu/drm/panel/panel-novatek-nt36672a.c       |  4 +---
 drivers/gpu/drm/panel/panel-orisetech-otm8009a.c     |  4 +---
 drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.c   |  4 +---
 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c |  4 +---
 drivers/gpu/drm/panel/panel-raydium-rm67191.c        |  4 +---
 drivers/gpu/drm/panel/panel-raydium-rm68200.c        |  4 +---
 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c         |  4 +---
 drivers/gpu/drm/panel/panel-samsung-s6d16d0.c        |  4 +---
 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c        |  4 +---
 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c     |  4 +---
 drivers/gpu/drm/panel/panel-samsung-s6e63m0-dsi.c    |  3 +--
 .../gpu/drm/panel/panel-samsung-s6e88a0-ams452ef01.c |  4 +---
 drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c        |  4 +---
 drivers/gpu/drm/panel/panel-samsung-sofef00.c        |  4 +---
 drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c      |  6 ++----
 drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c      |  4 +---
 drivers/gpu/drm/panel/panel-sharp-ls060t1sx01.c      |  4 +---
 drivers/gpu/drm/panel/panel-simple.c                 | 12 ++++++------
 drivers/gpu/drm/panel/panel-sitronix-st7701.c        |  4 +---
 drivers/gpu/drm/panel/panel-sitronix-st7703.c        |  4 +---
 .../gpu/drm/panel/panel-sony-tulip-truly-nt35521.c   |  4 +---
 drivers/gpu/drm/panel/panel-tdo-tl070wsh30.c         |  4 +---
 drivers/gpu/drm/panel/panel-truly-nt35597.c          |  3 +--
 drivers/gpu/drm/panel/panel-visionox-rm69299.c       |  3 +--
 drivers/gpu/drm/panel/panel-xinpeng-xpp055c272.c     |  4 +---
 include/drm/drm_mipi_dsi.h                           |  2 +-
 50 files changed, 61 insertions(+), 147 deletions(-)


base-commit: f2906aa863381afb0015a9eb7fefad885d4e5a56
-- 
2.36.1


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

end of thread, other threads:[~2022-07-09 16:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-08  9:49 [PATCH 0/3] drm/mipi-dsi: Make remove callback return void Uwe Kleine-König
2022-07-08  9:49 ` [PATCH 1/3] drm/panel: simple: Make panel_simple_remove() " Uwe Kleine-König
2022-07-09  8:51   ` Sam Ravnborg
2022-07-08  9:49 ` [PATCH 2/3] drm/panel-novatek-nt35510: Emit an error message if power off fails Uwe Kleine-König
2022-07-09  8:51   ` Sam Ravnborg
2022-07-08  9:49 ` [PATCH 3/3] drm/mipi-dsi: Make remove callback return void Uwe Kleine-König
2022-07-09  8:50   ` Sam Ravnborg
2022-07-09 16:28     ` Uwe Kleine-König

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.