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

From: Uwe Kleine-König
Date: Fri Mar 08 2024 - 16:31:41 EST


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
--
2.43.0