Re: [PATCH v2 5/9] ACPI: introduce three helper functions

2013-06-26 Thread Rafael J. Wysocki
On Wednesday, June 26, 2013 08:49:21 PM Rafael J. Wysocki wrote: > On Thursday, June 27, 2013 12:30:57 AM Jiang Liu wrote: > > From: Jiang Liu > > > > Introduce three helper functions, which will be used to simplify code. > > First, please introduce acpi_has_method() and use it everywhere where

Re: [PATCH v2 5/9] ACPI: introduce three helper functions

2013-06-26 Thread Rafael J. Wysocki
On Thursday, June 27, 2013 12:30:57 AM Jiang Liu wrote: > From: Jiang Liu > > Introduce three helper functions, which will be used to simplify code. First, please introduce acpi_has_method() and use it everywhere where applicable (at least under drivers/acpi/) in one separate patch. > Signed-of

[PATCH v2 5/9] ACPI: introduce three helper functions

2013-06-26 Thread Jiang Liu
From: Jiang Liu Introduce three helper functions, which will be used to simplify code. Signed-off-by: Jiang Liu Cc: Jiang Liu Cc: Len Brown Cc: "Rafael J. Wysocki" Cc: linux-a...@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- drivers/acpi/utils.c| 72 ++