mbox series

[net-next,0/5] ptp: Convert to platform remove callback returning void

Message ID cover.1712734365.git.u.kleine-koenig@pengutronix.de (mailing list archive)
Headers show
Series ptp: Convert to platform remove callback returning void | expand

Message

Uwe Kleine-König April 10, 2024, 7:34 a.m. UTC
Hello,

this series converts all platform drivers below drivers/ptp/ 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 (5):
  ptp: ptp_clockmatrix: Convert to platform remove callback returning
    void
  ptp: ptp_dte: Convert to platform remove callback returning void
  ptp: ptp_idt82p33: Convert to platform remove callback returning void
  ptp: ptp_ines: Convert to platform remove callback returning void
  ptp: ptp_qoriq: Convert to platform remove callback returning void

 drivers/ptp/ptp_clockmatrix.c | 6 ++----
 drivers/ptp/ptp_dte.c         | 6 ++----
 drivers/ptp/ptp_idt82p33.c    | 6 ++----
 drivers/ptp/ptp_ines.c        | 5 ++---
 drivers/ptp/ptp_qoriq.c       | 5 ++---
 5 files changed, 10 insertions(+), 18 deletions(-)

base-commit: 6ebf211bb11dfc004a2ff73a9de5386fa309c430

Comments

Richard Cochran April 11, 2024, 2:05 p.m. UTC | #1
On Wed, Apr 10, 2024 at 09:34:49AM +0200, Uwe Kleine-König wrote:
> Hello,
> 
> this series converts all platform drivers below drivers/ptp/ 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

For the series:

Acked-by: Richard Cochran <richardcochran@gmail.com>
patchwork-bot+netdevbpf@kernel.org April 13, 2024, 2 a.m. UTC | #2
Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Wed, 10 Apr 2024 09:34:49 +0200 you wrote:
> Hello,
> 
> this series converts all platform drivers below drivers/ptp/ 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.
> 
> [...]

Here is the summary with links:
  - [net-next,1/5] ptp: ptp_clockmatrix: Convert to platform remove callback returning void
    https://git.kernel.org/netdev/net-next/c/32080ec2db65
  - [net-next,2/5] ptp: ptp_dte: Convert to platform remove callback returning void
    https://git.kernel.org/netdev/net-next/c/5c025082f8bc
  - [net-next,3/5] ptp: ptp_idt82p33: Convert to platform remove callback returning void
    https://git.kernel.org/netdev/net-next/c/740c031861a7
  - [net-next,4/5] ptp: ptp_ines: Convert to platform remove callback returning void
    https://git.kernel.org/netdev/net-next/c/cff5236946b7
  - [net-next,5/5] ptp: ptp_qoriq: Convert to platform remove callback returning void
    https://git.kernel.org/netdev/net-next/c/145473b2950a

You are awesome, thank you!