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....@huawei.com> > > > > 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-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/