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 <jiang.liu@xxxxxxxxxx> > > > > 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/) Well, except for drivers/acpi/acpica/. And even that might be too much ... Please just move the definition of acpi_has_method() and all of the simplifications you've done using it into one separate patch. Thanks, Rafael -- I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center. -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html