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

From: Uwe Kleine-König
Date: Wed Apr 10 2024 - 03:17:37 EST


Hello,

this series converts all platform drivers below arch/x86/ 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.

I don't know how maintenance of these drivers is organized, but
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):
x86: platform: iris: Convert to platform remove callback returning
void
x86: platform: olpc-x01-pm: Convert to platform remove callback
returning void
x86: platform: olpc-xo1-sci: Convert to platform remove callback
returning void

arch/x86/platform/iris/iris.c | 5 ++---
arch/x86/platform/olpc/olpc-xo1-pm.c | 7 +++----
arch/x86/platform/olpc/olpc-xo1-sci.c | 5 ++---
3 files changed, 7 insertions(+), 10 deletions(-)

base-commit: 6ebf211bb11dfc004a2ff73a9de5386fa309c430
--
2.43.0