mbox series

[0/3] memstick: Convert to platform remove callback returning void

Message ID cover.1712757795.git.u.kleine-koenig@pengutronix.de
Headers show
Series memstick: Convert to platform remove callback returning void | expand

Message

Uwe Kleine-König April 10, 2024, 2:05 p.m. UTC
Hello,

this series converts all platform drivers below drivers/memstick/ to not
use struct platform_device::remove() any more. See commit 5c5a7680e67b
("platform: Provide a remove callback that returns no value") for an
extended explanation and the eventual goal.

All conversations are trivial, because the driver's .remove() callbacks
returned zero unconditionally.

There are no interdependencies between these patches, so they can be
applied independently if needed. This is merge window material.

Best regards
Uwe

Uwe Kleine-König (3):
  memstick: rtsx_pci_ms: Drop if block with always false condition
  memstick: rtsx_pci_ms: Convert to platform remove callback returning
    void
  memstick: rtsx_usb_ms: Convert to platform remove callback returning
    void

 drivers/memstick/host/rtsx_pci_ms.c | 9 ++-------
 drivers/memstick/host/rtsx_usb_ms.c | 6 ++----
 2 files changed, 4 insertions(+), 11 deletions(-)

base-commit: 6ebf211bb11dfc004a2ff73a9de5386fa309c430

Comments

Ulf Hansson April 25, 2024, 4:21 p.m. UTC | #1
On Wed, 10 Apr 2024 at 16:05, Uwe Kleine-König
<u.kleine-koenig@pengutronix.de> wrote:
>
> Hello,
>
> this series converts all platform drivers below drivers/memstick/ to not
> use struct platform_device::remove() any more. See commit 5c5a7680e67b
> ("platform: Provide a remove callback that returns no value") for an
> extended explanation and the eventual goal.
>
> All conversations are trivial, because the driver's .remove() callbacks
> returned zero unconditionally.
>
> There are no interdependencies between these patches, so they can be
> applied independently if needed. This is merge window material.
>
> Best regards
> Uwe
>
> Uwe Kleine-König (3):
>   memstick: rtsx_pci_ms: Drop if block with always false condition
>   memstick: rtsx_pci_ms: Convert to platform remove callback returning
>     void
>   memstick: rtsx_usb_ms: Convert to platform remove callback returning
>     void
>
>  drivers/memstick/host/rtsx_pci_ms.c | 9 ++-------
>  drivers/memstick/host/rtsx_usb_ms.c | 6 ++----
>  2 files changed, 4 insertions(+), 11 deletions(-)

The series applied for next, thanks!

Kind regards
Uffe