Re: [PATCH v4 1/5] acpi: battery: Split battery driver for reuse by DPTF power participant

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx>

Are there any functional changes in this patch?
--
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



[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux