[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140121094513.GK18029@intel.com>
Date: Tue, 21 Jan 2014 11:45:13 +0200
From: Mika Westerberg <mika.westerberg@...ux.intel.com>
To: "Rafael J. Wysocki" <rjw@...ysocki.net>
Cc: ACPI Devel Maling List <linux-acpi@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>,
Linux PM list <linux-pm@...r.kernel.org>,
Aaron Lu <aaron.lu@...el.com>
Subject: Re: [PATCH] ACPI / PM: Use ACPI_COMPANION() to get ACPI companions
of devices
On Sun, Jan 19, 2014 at 04:38:33PM +0100, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki@...el.com>
>
> The ACPI device PM code in device_pm.c uses a special function,
> acpi_dev_pm_get_node(), to obtain an ACPI companion object of a given
> device. However, that is not necessary any more after recent changes
> that introduced the ACPI_COMPANION() macro serving exactly the same
> purpose, but working in a much more straightforward way. For this
> reason, drop acpi_dev_pm_get_node() and use ACPI_COMPANION() instead
> of it everywhere.
>
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@...el.com>
Reviewed-by: Mika Westerberg <mika.westerberg@...ux.intel.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists