On Sun, Dec 31, 2017 at 4:17 PM, Ognjen Galic <smc...@gm...> wrote:
> This patch adds the to_power_supply macro to upcast
> a device to a power_supply struct.
>
> This is needed because the same piece of code using
> container_of is used in various other places, so we
> abstract away such low-level operations via a macro.
The patch 5 must be folded into this one. I told you that.
Otherwise you will leave bisectability issue.
> Suggested-by: Andy Shevchenko <and...@li...>
> Signed-off-by: Ognjen Galic <smc...@gm...>
>
> v9:
> * Split the pm changes from the thinkpad_acpi patch
> into its own patch
>
> v10:
> * No changes in this patch in v10
>
> v11:
> * Fix changelog formatting
Changelog should go *after* --- line...
> ---
...to here.
> drivers/power/supply/power_supply_core.c | 2 +-
> include/linux/power_supply.h | 2 ++
--
With Best Regards,
Andy Shevchenko
|