Skip to content

uio: Convert to platform remove callback returning void

Uwe Kleine-König lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2uio: fsl_elbc_gpcm: Convert to platform remove callback returning voiddrivers/uio/uio_fsl_elbc_gpcm.c+2 -40 replies
2/2uio: pruss: Convert to platform remove callback returning voiddrivers/uio/uio_pruss.c+2 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] uio: Convert to platform remove callback returning void

Hello,

this series converts the two platform drivers below drivers/uio that make use of .remove() to use .remove_new() instead.

See commit 5c5a7680e67b ("platform: Provide a remove callback that returns no value") for an extended explanation and the eventual goal. The TL;DR; is to make it harder for driver authors to leak resources without noticing. The drivers here get it right though and so can be converted trivially.

This is merge window material. The two patches are independent of each other so they can be applied individually if necessary. But I assume and suggest that Greg will pick them up together.

Best regards
Uwe

Uwe Kleine-König (2):
uio: fsl_elbc_gpcm: Convert to platform remove callback returning void
uio: pruss: Convert to platform remove callback returning void

 drivers/uio/uio_fsl_elbc_gpcm.c | 6 ++----
 drivers/uio/uio_pruss.c         | 5 ++---
 2 files changed, 4 insertions(+), 7 deletions(-)

base-commit: 8ffc8b1bbd505e27e2c8439d326b6059c906c9dd

Signature · 1 line
2.43.0