mbox series

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

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

Message

Uwe Kleine-König Feb. 18, 2024, 8:53 a.m. UTC
Hello,

this series converts all remaining (three) drivers below drivers/tty to
struct platform_driver::remove_new(). See commit 5c5a7680e67b
("platform: Provide a remove callback that returns no value") for an
extended explanation and the eventual goal.

Two conversations are trivial, because their .remove() callbacks
returned zero unconditionally. The pmac_zilog serial driver had an error
path in its remove callback that however was never taken and so could be
dropped.

There are no interdependencies between these patches, so they could be
picked up individually. However I'd expect them to go in all together
via Greg's tree.

Uwe Kleine-König (3):
  tty: amiserial: Convert to platform remove callback returning void
  tty: goldfish: Convert to platform remove callback returning void
  serial: pmac_zilog: Convert to platform remove callback returning void

 drivers/tty/amiserial.c         | 6 ++----
 drivers/tty/goldfish.c          | 5 ++---
 drivers/tty/serial/pmac_zilog.c | 9 ++-------
 3 files changed, 6 insertions(+), 14 deletions(-)

base-commit: d37e1e4c52bc60578969f391fb81f947c3e83118