[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHp75Vc9U9Zw30i5gf-LPH+ms7zO9p=kSTVKjNe8MqTHf4TiCg@mail.gmail.com>
Date: Mon, 11 Jan 2016 16:45:20 +0200
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Aleksey Makarov <aleksey.makarov@...aro.org>
Cc: "linux-acpi@...r.kernel.org" <linux-acpi@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
linux-arm Mailing List <linux-arm-kernel@...ts.infradead.org>,
Graeme Gregory <graeme.gregory@...aro.org>,
Russell King <linux@....linux.org.uk>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"Rafael J . Wysocki" <rjw@...ysocki.net>,
Shannon Zhao <shannon.zhao@...aro.org>,
Vladimir Zapolskiy <vz@...ia.com>, Len Brown <lenb@...nel.org>
Subject: Re: [PATCH v5 1/2] ACPI: introduce a function to find the first
physical device
+ One more thing
On Mon, Jan 11, 2016 at 3:26 PM, Aleksey Makarov
<aleksey.makarov@...aro.org> wrote:
> --- a/drivers/acpi/bus.c
> +++ b/drivers/acpi/bus.c
> @@ -478,24 +478,36 @@ static void acpi_device_remove_notify_handler(struct acpi_device *device)
> Device Matching
> -------------------------------------------------------------------------- */
>
> -static struct acpi_device *acpi_primary_dev_companion(struct acpi_device *adev,
> - const struct device *dev)
> +/**
> + * acpi_device_fix_parent - Get first physical node of an ACPI device
> + * @adev: ACPI device in question
> + */
> +struct device *acpi_get_first_physical_node(
> + struct acpi_device *adev)
One line (even if it goes a bit over 80)
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists