[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <cover.1709933231.git.u.kleine-koenig@pengutronix.de>
Date: Fri, 8 Mar 2024 22:31:00 +0100
From: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: linux-kernel@...r.kernel.org,
kernel@...gutronix.de
Subject: [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
--
2.43.0
Powered by blists - more mailing lists