Re: [PATCH 0/2] Device managed platform_profile_register()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 21.12.24 um 08:08 schrieb Kurt Borja:

Hi :)

Now that the platform profile is tied to a device, this would be a nice
thing to have. Let me know what you think!

Hi,

i like this patch series, having a devres version of platform_profile_register()
will be very helpful in simplifying the error handling of such drivers.

I can also replace existing users of platform_profile_register() where
it makes sense, if that's ok.

Sure. However keep in mind that this is entirely optional :).

Thanks,
Armin Wolf


This is meant to be merged on the pdx86 tree.

~ Kurt

Kurt Borja (2):
   ACPI: platform_profile: Add devm_platform_profile_register()
   alienware-wmi: Use devm_platform_profile_register()

  drivers/acpi/platform_profile.c           | 27 +++++++++++++++++++++++
  drivers/platform/x86/dell/alienware-wmi.c | 10 +--------
  include/linux/platform_profile.h          |  2 +-
  3 files changed, 29 insertions(+), 10 deletions(-)


base-commit: 9e0894d07072e50b83ef077ce91e504bdb7484a3




[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux