Linux kernel staging patches
 help / color / mirror / Atom feed
* [PATCH 0/3] media: Use v4l2_event_subdev_unsubscribe() in more drivers
@ 2025-08-01 21:19 Laurent Pinchart
  2025-08-01 21:19 ` [PATCH 1/3] media: omap3isp: Drop custom .unsubscribe_event() handler Laurent Pinchart
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Laurent Pinchart @ 2025-08-01 21:19 UTC (permalink / raw)
  To: linux-media
  Cc: Hans de Goede, Sakari Ailus, Steve Longerbeam, Philipp Zabel,
	Hans Verkuil, linux-staging, imx

Hello,

This small patch series contains drive-by cleanups for the omap3isp,
atomisp and imx media drivers. I noticed that all those drivers
implemented custom subdev .unsubscribe_event() handlers, for those
handlers to perform exactly the same operation as
v4l2_event_subdev_unsubscribe(). The series replaces them with direct
usage of the v4l2_event_subdev_unsubscribe() function.

Laurent Pinchart (3):
  media: omap3isp: Drop custom .unsubscribe_event() handler
  media: staging: atomisp: Drop custom .unsubscribe_event() handler
  media: staging: imx: Drop custom .unsubscribe_event() handler

 drivers/media/platform/ti/omap3isp/ispccdc.c       | 8 +-------
 drivers/media/platform/ti/omap3isp/isph3a_aewb.c   | 2 +-
 drivers/media/platform/ti/omap3isp/isph3a_af.c     | 2 +-
 drivers/media/platform/ti/omap3isp/isphist.c       | 2 +-
 drivers/media/platform/ti/omap3isp/ispstat.c       | 7 -------
 drivers/media/platform/ti/omap3isp/ispstat.h       | 3 ---
 drivers/staging/media/atomisp/pci/atomisp_subdev.c | 9 +--------
 drivers/staging/media/imx/imx-media-csi.c          | 8 +-------
 8 files changed, 6 insertions(+), 35 deletions(-)


base-commit: d968e50b5c26642754492dea23cbd3592bde62d8
-- 
Regards,

Laurent Pinchart


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

end of thread, other threads:[~2025-08-05 20:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-01 21:19 [PATCH 0/3] media: Use v4l2_event_subdev_unsubscribe() in more drivers Laurent Pinchart
2025-08-01 21:19 ` [PATCH 1/3] media: omap3isp: Drop custom .unsubscribe_event() handler Laurent Pinchart
2025-08-01 21:19 ` [PATCH 2/3] media: staging: atomisp: " Laurent Pinchart
2025-08-01 21:19 ` [PATCH 3/3] media: staging: imx: " Laurent Pinchart
2025-08-05 20:52   ` Frank Li

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