lkml.org 
[lkml]   [2022]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v1 1/5] ACPI: Rename acpi_bus_get/put_acpi_device()
From
On 8/10/22 09:14, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
>
> Because acpi_bus_get_acpi_device() is completely analogous to
> acpi_fetch_acpi_dev(), rename it to acpi_get_acpi_dev() and
> add a kerneldoc comment to it.
>
> Accordingly, rename acpi_bus_put_acpi_device() to acpi_put_acpi_dev()
> and update all of the users of these two functions.
>
> While at it, move the acpi_fetch_acpi_dev() header next to the
> acpi_get_acpi_dev() header in the header file holding them.
>
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
> ---
> drivers/acpi/bus.c | 6 +++---
> drivers/acpi/device_pm.c | 4 ++--
> drivers/acpi/irq.c | 4 ++--
> drivers/acpi/scan.c | 21 ++++++++++++++++-----
> drivers/hwmon/acpi_power_meter.c | 2 +-

For hwmon:

Acked-by: Guenter Roeck <linux@roeck-us.net>

\
 
 \ /
  Last update: 2022-08-10 18:31    [W:0.164 / U:0.692 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site