summaryrefslogtreecommitdiff
path: root/include/linux/moduleparam.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-05-21 17:02:00 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-05-25 17:43:51 +0300
commit026a7835bfda409661aafd5fcdf6b97878b21dc7 (patch)
treeda2aa0dff23e88604f6d3b60a1ab6518eada692f /include/linux/moduleparam.h
parent198541ad53c0d0d891fedea4098f9953a0f566c0 (diff)
downloadlinux-026a7835bfda409661aafd5fcdf6b97878b21dc7.tar.xz
ACPI: AC: Switch over to devres-based resource management
Use devm_kzalloc() for allocating memory, devm_power_supply_register() for registering a power supply class device and the newly introduced devm_acpi_install_notify_handler() for installing an ACPI notify handler. Note that the code ordering change related to the third of the above modifications does not matter because there is no order dependency between the battery notifier and the ACPI notify handler. No intentional functional impact. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Link: https://patch.msgid.link/3422377.44csPzL39Z@rafael.j.wysocki
Diffstat (limited to 'include/linux/moduleparam.h')
0 files changed, 0 insertions, 0 deletions