public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/27] platform: Convert to platform remove callback returning void
@ 2023-09-27  8:10 Uwe Kleine-König
  2023-09-27  8:10 ` [PATCH 01/27] platform/chrome: cros_ec_chardev: " Uwe Kleine-König
                   ` (29 more replies)
  0 siblings, 30 replies; 33+ messages in thread
From: Uwe Kleine-König @ 2023-09-27  8:10 UTC (permalink / raw)
  To: Benson Leung, Tzung-Bi Shih, Prashant Malani, Guenter Roeck,
	Brian Norris, Zhengkang Huang, Dongliang Mu, Greg Kroah-Hartman,
	Hans de Goede, Ilpo Järvinen, Mark Gross, Vadim Pasternak,
	Gerd Haeussler, Xing Tong Wu, Tobias Schaffner
  Cc: chrome-platform, linux-kernel, platform-driver-x86, kernel

Hello,

this series converts all platform drivers below drivers/platform to use
.remove_new(). The motivation is to get rid of an integer return code
that is (mostly) ignored by the platform driver core and error prone on
the driver side.

See commit 5c5a7680e67b ("platform: Provide a remove callback that
returns no value") for an extended explanation and the eventual goal.

As there is no single maintainer team for drivers/platform, I suggest
the individual maintainers to pick up "their" patches. The only
inter-dependency in this series is that the patches #24 - #27 depend on
#23. Otherwise there are no inter-dependencies, so that should work
fine. As there are still quite a few drivers to convert in other areas
than drivers/platform, I'm happy about every patch that makes it in and
there is no need for further coordination. So even if there is a merge
conflict with one patch until you apply or a subject prefix is
suboptimal, please don't let you stop by negative feedback for other
patches (unless it applies to "your" patches, too, of course).

Best regards and thanks for considering,
Uwe

Uwe Kleine-König (27):
  platform/chrome: cros_ec_chardev: Convert to platform remove callback
    returning void
  platform/chrome: cros_ec_debugfs: Convert to platform remove callback
    returning void
  platform/chrome: cros_ec_lightbar: Convert to platform remove callback
    returning void
  platform/chrome: cros_ec_lpc: Convert to platform remove callback
    returning void
  platform/chrome: cros_ec_sysfs: Convert to platform remove callback
    returning void
  platform/chrome: cros_ec_vbc: Convert to platform remove callback
    returning void
  platform/chrome: cros_typec_switch: Convert to platform remove
    callback returning void
  platform/chrome: cros_usbpd_logger: Convert to platform remove
    callback returning void
  platform/chrome: cros_usbpd_notify: Convert to platform remove
    callback returning void
  platform/chrome/wilco_ec: core: Convert to platform remove callback
    returning void
  platform/chrome/wilco_ec: debugfs: Convert to platform remove callback
    returning void
  platform/chrome/wilco_ec: telemetry: Convert to platform remove
    callback returning void
  platform/goldfish: goldfish_pipe: Convert to platform remove callback
    returning void
  platform/mellanox: mlxbf-bootctl: Convert to platform remove callback
    returning void
  platform/mellanox: mlxbf-tmfifo: Convert to platform remove callback
    returning void
  platform/mellanox: mlxreg-hotplug: Convert to platform remove callback
    returning void
  platform/mellanox: mlxreg-io: Convert to platform remove callback
    returning void
  platform/mellanox: mlxreg-lc: Convert to platform remove callback
    returning void
  platform/mellanox: nvsw-sn2201: Convert to platform remove callback
    returning void
  platform/x86/intel: bytcrc_pwrsrc: Convert to platform remove callback
    returning void
  platform/x86: mlx-platform: Convert to platform remove callback
    returning void
  platform/x86: sel3350-platform: Convert to platform remove callback
    returning void
  platform/x86/siemens: simatic-ipc-batt: Simplify
    simatic_ipc_batt_remove()
  platform/x86/siemens: simatic-ipc-batt: Convert to platform remove
    callback returning void
  platform/x86/siemens: simatic-ipc-batt-apollolake: Convert to platform
    remove callback returning void
  platform/x86/siemens: simatic-ipc-batt-elkhartlake: Convert to
    platform remove callback returning void
  platform/x86/siemens: simatic-ipc-batt-f7188x: Convert to platform
    remove callback returning void

 drivers/platform/chrome/cros_ec_chardev.c            |  6 ++----
 drivers/platform/chrome/cros_ec_debugfs.c            |  6 ++----
 drivers/platform/chrome/cros_ec_lightbar.c           |  6 ++----
 drivers/platform/chrome/cros_ec_lpc.c                |  6 ++----
 drivers/platform/chrome/cros_ec_sysfs.c              |  6 ++----
 drivers/platform/chrome/cros_ec_vbc.c                |  6 ++----
 drivers/platform/chrome/cros_typec_switch.c          |  5 ++---
 drivers/platform/chrome/cros_usbpd_logger.c          |  6 ++----
 drivers/platform/chrome/cros_usbpd_notify.c          | 12 ++++--------
 drivers/platform/chrome/wilco_ec/core.c              |  5 ++---
 drivers/platform/chrome/wilco_ec/debugfs.c           |  6 ++----
 drivers/platform/chrome/wilco_ec/telemetry.c         |  6 ++----
 drivers/platform/goldfish/goldfish_pipe.c            |  5 ++---
 drivers/platform/mellanox/mlxbf-bootctl.c            |  6 ++----
 drivers/platform/mellanox/mlxbf-tmfifo.c             |  6 ++----
 drivers/platform/mellanox/mlxreg-hotplug.c           |  6 ++----
 drivers/platform/mellanox/mlxreg-io.c                |  6 ++----
 drivers/platform/mellanox/mlxreg-lc.c                |  8 +++-----
 drivers/platform/mellanox/nvsw-sn2201.c              |  6 ++----
 drivers/platform/x86/intel/bytcrc_pwrsrc.c           |  5 ++---
 drivers/platform/x86/mlx-platform.c                  |  5 ++---
 drivers/platform/x86/sel3350-platform.c              |  6 ++----
 .../x86/siemens/simatic-ipc-batt-apollolake.c        |  6 +++---
 .../x86/siemens/simatic-ipc-batt-elkhartlake.c       |  6 +++---
 .../platform/x86/siemens/simatic-ipc-batt-f7188x.c   |  6 +++---
 drivers/platform/x86/siemens/simatic-ipc-batt.c      |  9 ++++-----
 drivers/platform/x86/siemens/simatic-ipc-batt.h      |  4 ++--
 27 files changed, 62 insertions(+), 104 deletions(-)

base-commit: 18030226a48de1fbfabf4ae16aaa2695a484254f
-- 
2.40.1


^ permalink raw reply	[flat|nested] 33+ messages in thread

end of thread, other threads:[~2023-10-02  3:08 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-27  8:10 [PATCH 00/27] platform: Convert to platform remove callback returning void Uwe Kleine-König
2023-09-27  8:10 ` [PATCH 01/27] platform/chrome: cros_ec_chardev: " Uwe Kleine-König
2023-09-27  8:10 ` [PATCH 02/27] platform/chrome: cros_ec_debugfs: " Uwe Kleine-König
2023-09-27  8:10 ` [PATCH 03/27] platform/chrome: cros_ec_lightbar: " Uwe Kleine-König
2023-09-27  8:10 ` [PATCH 04/27] platform/chrome: cros_ec_lpc: " Uwe Kleine-König
2023-09-27  8:10 ` [PATCH 05/27] platform/chrome: cros_ec_sysfs: " Uwe Kleine-König
2023-09-27  8:10 ` [PATCH 06/27] platform/chrome: cros_ec_vbc: " Uwe Kleine-König
2023-09-27  8:10 ` [PATCH 07/27] platform/chrome: cros_typec_switch: " Uwe Kleine-König
2023-09-28 17:10   ` Prashant Malani
2023-09-27  8:10 ` [PATCH 08/27] platform/chrome: cros_usbpd_logger: " Uwe Kleine-König
2023-09-27  8:10 ` [PATCH 09/27] platform/chrome: cros_usbpd_notify: " Uwe Kleine-König
2023-09-28 17:11   ` Prashant Malani
2023-09-27  8:10 ` [PATCH 10/27] platform/chrome/wilco_ec: core: " Uwe Kleine-König
2023-09-27  8:10 ` [PATCH 11/27] platform/chrome/wilco_ec: debugfs: " Uwe Kleine-König
2023-09-27  8:10 ` [PATCH 12/27] platform/chrome/wilco_ec: telemetry: " Uwe Kleine-König
2023-09-27  8:10 ` [PATCH 13/27] platform/goldfish: goldfish_pipe: " Uwe Kleine-König
2023-09-27  8:10 ` [PATCH 14/27] platform/mellanox: mlxbf-bootctl: " Uwe Kleine-König
2023-09-27  8:10 ` [PATCH 15/27] platform/mellanox: mlxbf-tmfifo: " Uwe Kleine-König
2023-09-27  8:10 ` [PATCH 16/27] platform/mellanox: mlxreg-hotplug: " Uwe Kleine-König
2023-09-27  8:10 ` [PATCH 17/27] platform/mellanox: mlxreg-io: " Uwe Kleine-König
2023-09-27  8:10 ` [PATCH 18/27] platform/mellanox: mlxreg-lc: " Uwe Kleine-König
2023-09-27  8:10 ` [PATCH 19/27] platform/mellanox: nvsw-sn2201: " Uwe Kleine-König
2023-09-27  8:10 ` [PATCH 20/27] platform/x86/intel: bytcrc_pwrsrc: " Uwe Kleine-König
2023-09-27  8:10 ` [PATCH 21/27] platform/x86: mlx-platform: " Uwe Kleine-König
2023-09-27  8:10 ` [PATCH 22/27] platform/x86: sel3350-platform: " Uwe Kleine-König
2023-09-27  8:10 ` [PATCH 23/27] platform/x86/siemens: simatic-ipc-batt: Simplify simatic_ipc_batt_remove() Uwe Kleine-König
2023-09-27  8:10 ` [PATCH 24/27] platform/x86/siemens: simatic-ipc-batt: Convert to platform remove callback returning void Uwe Kleine-König
2023-09-27  8:10 ` [PATCH 25/27] platform/x86/siemens: simatic-ipc-batt-apollolake: " Uwe Kleine-König
2023-09-27  8:10 ` [PATCH 26/27] platform/x86/siemens: simatic-ipc-batt-elkhartlake: " Uwe Kleine-König
2023-09-27  8:10 ` [PATCH 27/27] platform/x86/siemens: simatic-ipc-batt-f7188x: " Uwe Kleine-König
2023-09-28  5:30 ` [PATCH 00/27] platform: " patchwork-bot+chrome-platform
2023-09-28 11:03 ` Ilpo Järvinen
2023-10-02  3:00 ` patchwork-bot+chrome-platform

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox