Re: [PATCH 1/8] power: supply: core: add wakeup source inhibit by power_supply_config
From: Tzung-Bi Shih
Date: Thu Oct 10 2024 - 22:34:32 EST
On Sat, Oct 05, 2024 at 12:05:03PM +0200, Thomas Weißschuh wrote:
> To inhibit wakeup users currently have to use dedicated functions to
> register the power supply: {,devm_}power_supply_register_no_ws().
> This is inconsistent to other runtime settings which can be configured
> through struct power_supply_config.
> It's also not obvious what _no_ws() is meant to mean.
>
> Extend power_supply_config to also be able to inhibit the wakeup source.
>
> Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
Reviewed-by: Tzung-Bi Shih <tzungbi@xxxxxxxxxx>