[PATCH 0/3] platform/x86: Fix fiwmare_attributes_class device unregistration

Kurt Borja posted 3 patches 3 months, 2 weeks ago
drivers/platform/x86/dell/dell-wmi-sysman/sysman.c | 4 ++--
drivers/platform/x86/hp/hp-bioscfg/bioscfg.c       | 4 ++--
drivers/platform/x86/lenovo/think-lmi.c            | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
[PATCH 0/3] platform/x86: Fix fiwmare_attributes_class device unregistration
Posted by Kurt Borja 3 months, 2 weeks ago
Hi all,

Using device_destroy() for unregistering firmware_attributes_class
devices may cause issues if there is more than one device under this
class. See details in the commit message.

This patchset fixes this problem for all users.

Signed-off-by: Kurt Borja <kuurtb@gmail.com>
---
Kurt Borja (3):
      platform/x86: hp-bioscfg: Fix class device unregistration
      platform/x86: think-lmi: Fix class device unregistration
      platform/x86: dell-wmi-sysman: Fix class device unregistration

 drivers/platform/x86/dell/dell-wmi-sysman/sysman.c | 4 ++--
 drivers/platform/x86/hp/hp-bioscfg/bioscfg.c       | 4 ++--
 drivers/platform/x86/lenovo/think-lmi.c            | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)
---
base-commit: 73f0f2b52c5ea67b3140b23f58d8079d158839c8
change-id: 20250625-dest-fix-b9de524340b2
-- 
 ~ Kurt
Re: [PATCH 0/3] platform/x86: Fix fiwmare_attributes_class device unregistration
Posted by Ilpo Järvinen 3 months, 1 week ago
On Wed, 25 Jun 2025 22:17:34 -0300, Kurt Borja wrote:

> Using device_destroy() for unregistering firmware_attributes_class
> devices may cause issues if there is more than one device under this
> class. See details in the commit message.
> 
> This patchset fixes this problem for all users.
> 
> 
> [...]


Thank you for your contribution, it has been applied to my local
review-ilpo-fixes branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-fixes branch only once I've pushed my
local branch there, which might take a while.

The list of commits applied:
[1/3] platform/x86: hp-bioscfg: Fix class device unregistration
      commit: 11cba4793b95df3bc192149a6eb044f69aa0b99e
[2/3] platform/x86: think-lmi: Fix class device unregistration
      commit: 5ff1fbb3059730700b4823f43999fc1315984632
[3/3] platform/x86: dell-wmi-sysman: Fix class device unregistration
      commit: 314e5ad4782d08858b3abc325c0487bd2abc23a1

--
 i.