On Wed, Feb 10, 2021 at 04:56:46PM -0600, Ricardo Rivera-Matos wrote: > Currently POWER_SUPPLY_PROP_CONSTANT_CHARGE_CURRENT and > > POWER_SUPPLY_PROP_CONSTANT_CHARGE_VOLTAGE are exposed on the battery node > > and this is incorrect. > > This patch exposes POWER_SUPPLY_PROP_CONSTANT_CHARGE_CURRENT and > > POWER_SUPPLY_PROP_CONSTANT_CHARGE_VOLTAGE on the charger node rather > > than the battery node.
Now it makes sense if you only formatted it in human-readable way. Please fix your git/editor/email client/desktop unless you used such formatting intentionally. If it was intentional, then please don't - do like everyone else in Linux kernel (git log will help). Best regards, Krzysztof > > Fixes: 5069185fc18e ("power: supply: bq25980: Add support for the BQ259xx > family") > Signed-off-by: Ricardo Rivera-Matos <r-rivera-ma...@ti.com> > --- > drivers/power/supply/bq25980_charger.c | 40 ++++++++------------------ > 1 file changed, 12 insertions(+), 28 deletions(-)