On Fri, 2016-07-01 at 00:08 +0200, Rafael J. Wysocki wrote: > On Thu, Jun 30, 2016 at 2:00 AM, Srinivas Pandruvada > <srinivas.pandruvada@xxxxxxxxxxxxxxx> wrote: > > DPTF power participant device have common objects with ACPI battery > > device > > "PNP0C0A". For example the main battery objects: > > _BST: returns dynamic battery information > > _BIX: The static battery properties and control method > > Also both can register with power_supply class to present > > properties > > of a typical battery device. > > > > To avoid code duplication, the existing battery driver is split > > into two > > parts: > > - A common part > > - ACPI battery driver > > > > battery_common > > Most of the existing battery driver source, except ACPI enumeration > > part > > moved a separate file. It exposes an interface, which can be used > > by ACPI > > battery driver and DPTF power participant driver. > > Also the current battery driver code had lots of check_patch > > errors. > > These check_patch errors are addressed in this battery_common. > > These are > > the main interface functions: > > acpi_battery_common_add > > acpi_battery_common_remove > > acpi_battery_common_resume > > acpi_battery_common_notify > > > > battery: This is ACPI battery driver, which just enumerate on > > PNP0C0A > > device and use interface functions offered by battery common part. > > > > Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel > > .com> > > Are there any functional changes in this patch? No. Thanks, Srinivas -- 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