All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/18] Hide platform_profile_handler from consumers
@ 2025-01-14 15:37 Kurt Borja
  2025-01-14 15:37 ` [PATCH v2 01/18] ACPI: platform_profile: Replace *class_dev member with class_dev Kurt Borja
                   ` (18 more replies)
  0 siblings, 19 replies; 33+ messages in thread
From: Kurt Borja @ 2025-01-14 15:37 UTC (permalink / raw)
  To: platform-driver-x86
  Cc: Rafael J. Wysocki, Len Brown, linux-acpi, linux-kernel,
	Mario Limonciello, Armin Wolf, Joshua Grisham, Derek J. Clark,
	Ilpo Järvinen, Hans de Goede, Kurt Borja, Maximilian Luz,
	Lee, Chun-Yi, Shyam Sundar S K, Corentin Chary, Luke D. Jones,
	Lyndon Sanche, Ike Panhc, Henrique de Moraes Holschuh,
	Mark Pearson, Alexis Belmonte, Ai Chao, Gergo Koteles,
	Dell.Client.Kernel, ibm-acpi-devel

Hello,

As suggested by Mario, I moved patch 15/18 to position 3/18. This indeed
simplified all diffs. Full reordering bellow.

Series based on top of pdx86/for-next branch.

~ Kurt
---
v1 -> v2:

01 -> 04
02 -> 05
03 -> 01
04 -> 02
05 -> 06
06 -> 07
07 -> 08
08 -> 09
09 -> 10
10 -> 11
11 -> 12
12 -> 13
13 -> 14
14 -> 15
15 -> 03

[1/18]
  - Call put_device() if device_register() fails

[2/18]
  - Set and use drvdata for every driver in these series, instead of
    patches 6-14

[4/18]
  - Renamed the `choices` callback to `probe`

[15/18]
  - Improve error handling in amd/pmf
  - Improve error handling in asus-wmi

[18/18]
  - Fix typo
  - Added documentation to platform_profile_ops

v1: https://lore.kernel.org/platform-driver-x86/20250109150731.110799-1-kuurtb@gmail.com/

Kurt Borja (18):
  ACPI: platform_profile: Replace *class_dev member with class_dev
  ACPI: platform_profile: Let drivers set drvdata to the class device
  ACPI: platform_profile: Remove platform_profile_handler from callbacks
  ACPI: platform_profile: Add `ops` member to handlers
  ACPI: platform_profile: Add `probe` to platform_profile_ops
  platform/surface: surface_platform_profile: Use
    devm_platform_profile_register()
  platform/x86: acer-wmi: Use devm_platform_profile_register()
  platform/x86: amd: pmf: sps: Use devm_platform_profile_register()
  platform/x86: asus-wmi: Use devm_platform_profile_register()
  platform/x86: dell-pc: Use devm_platform_profile_register()
  platform/x86: ideapad-laptop: Use devm_platform_profile_register()
  platform/x86: hp-wmi: Use devm_platform_profile_register()
  platform/x86: inspur_platform_profile: Use
    devm_platform_profile_register()
  platform/x86: thinkpad_acpi: Use devm_platform_profile_register()
  ACPI: platform_profile: Remove platform_profile_handler from exported
    symbols
  ACPI: platform_profile: Move platform_profile_handler
  ACPI: platform_profile: Clean platform_profile_handler
  ACPI: platform_profile: Add documentation

 .../ABI/testing/sysfs-class-platform-profile  |  44 +++++
 drivers/acpi/platform_profile.c               | 164 +++++++++++++-----
 .../surface/surface_platform_profile.c        |  48 ++---
 drivers/platform/x86/acer-wmi.c               |  58 +++----
 drivers/platform/x86/amd/pmf/core.c           |   1 -
 drivers/platform/x86/amd/pmf/pmf.h            |   3 +-
 drivers/platform/x86/amd/pmf/sps.c            |  51 +++---
 drivers/platform/x86/asus-wmi.c               |  55 +++---
 drivers/platform/x86/dell/alienware-wmi.c     |  33 ++--
 drivers/platform/x86/dell/dell-pc.c           |  60 ++++---
 drivers/platform/x86/hp/hp-wmi.c              |  83 +++++----
 drivers/platform/x86/ideapad-laptop.c         |  44 +++--
 .../platform/x86/inspur_platform_profile.c    |  48 +++--
 drivers/platform/x86/thinkpad_acpi.c          |  37 ++--
 include/linux/platform_profile.h              |  51 ++++--
 15 files changed, 474 insertions(+), 306 deletions(-)
 create mode 100644 Documentation/ABI/testing/sysfs-class-platform-profile


base-commit: 58126788aa7726c0e91de6b25e6e332fa06089ab
-- 
2.47.1


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

end of thread, other threads:[~2025-01-15  2:45 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-14 15:37 [PATCH v2 00/18] Hide platform_profile_handler from consumers Kurt Borja
2025-01-14 15:37 ` [PATCH v2 01/18] ACPI: platform_profile: Replace *class_dev member with class_dev Kurt Borja
2025-01-14 15:37 ` [PATCH v2 02/18] ACPI: platform_profile: Let drivers set drvdata to the class device Kurt Borja
2025-01-14 15:37 ` [PATCH v2 03/18] ACPI: platform_profile: Remove platform_profile_handler from callbacks Kurt Borja
2025-01-14 15:59   ` Mario Limonciello
2025-01-14 15:37 ` [PATCH v2 04/18] ACPI: platform_profile: Add `ops` member to handlers Kurt Borja
2025-01-14 15:37 ` [PATCH v2 05/18] ACPI: platform_profile: Add `probe` to platform_profile_ops Kurt Borja
2025-01-14 16:20   ` Mario Limonciello
2025-01-14 16:31     ` Kurt Borja
2025-01-14 16:36       ` Mario Limonciello
2025-01-14 15:37 ` [PATCH v2 06/18] platform/surface: surface_platform_profile: Use devm_platform_profile_register() Kurt Borja
2025-01-14 15:37 ` [PATCH v2 07/18] platform/x86: acer-wmi: " Kurt Borja
2025-01-14 15:37 ` [PATCH v2 08/18] platform/x86: amd: pmf: sps: " Kurt Borja
2025-01-14 15:37 ` [PATCH v2 09/18] platform/x86: asus-wmi: " Kurt Borja
2025-01-14 15:37 ` [PATCH v2 10/18] platform/x86: dell-pc: " Kurt Borja
2025-01-14 15:37 ` [PATCH v2 11/18] platform/x86: ideapad-laptop: " Kurt Borja
2025-01-14 15:37 ` [PATCH v2 12/18] platform/x86: hp-wmi: " Kurt Borja
2025-01-14 15:37 ` [PATCH v2 13/18] platform/x86: inspur_platform_profile: " Kurt Borja
2025-01-14 15:37 ` [PATCH v2 14/18] platform/x86: thinkpad_acpi: " Kurt Borja
2025-01-14 15:37 ` [PATCH v2 15/18] ACPI: platform_profile: Remove platform_profile_handler from exported symbols Kurt Borja
2025-01-14 16:22   ` Mario Limonciello
2025-01-14 16:55   ` Ilpo Järvinen
2025-01-14 17:13     ` Rafael J. Wysocki
2025-01-14 17:26     ` Kurt Borja
2025-01-14 17:55       ` Ilpo Järvinen
2025-01-15  2:45         ` Kurt Borja
2025-01-14 15:37 ` [PATCH v2 16/18] ACPI: platform_profile: Move platform_profile_handler Kurt Borja
2025-01-14 15:37 ` [PATCH v2 17/18] ACPI: platform_profile: Clean platform_profile_handler Kurt Borja
2025-01-14 15:37 ` [PATCH v2 18/18] ACPI: platform_profile: Add documentation Kurt Borja
2025-01-14 16:24   ` Mario Limonciello
2025-01-14 16:57   ` Ilpo Järvinen
2025-01-14 17:27     ` Kurt Borja
2025-01-14 17:15 ` [PATCH v2 00/18] Hide platform_profile_handler from consumers Rafael J. Wysocki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.