[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210309180407.650943-1-sebastian.reichel@collabora.com>
Date: Tue, 9 Mar 2021 19:04:00 +0100
From: Sebastian Reichel <sebastian.reichel@...labora.com>
To: Sebastian Reichel <sre@...nel.org>
Cc: linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel@...labora.com,
Sebastian Reichel <sebastian.reichel@...labora.com>
Subject: [PATCH 0/7] Cleanup SBS power-supply drivers
Hi,
This is a collection of cleanups for the SBS battery/charger/manager.
The series does three things:
1. remove legacy gpio usage (only headers needed updates)
2. simple code cleanups
3. remove probe defer message logging
To provide some more data for the last point: The following messages
appeared on a SBS battery using system if the battery driver is probed
before the charger at default loglevel and will be degraded to debug
level:
[ 0.348325] power_supply sbs-0-000b: Not all required supplies found, defer probe
[ 0.348337] sbs-battery 0-000b: sbs_probe: Failed to register power supply
[ 0.588072] power_supply sbs-0-000b: sbs-0-000b: Found supply : battery-charger
-- Sebastian
Sebastian Reichel (7):
power: supply: sbs-battery: use dev_err_probe
power: supply: sbs-charger: use dev_err_probe
power: supply: sbs-charger: drop unused gpio includes
power: supply: sbs-manager: use managed i2c_mux_adapter
power: supply: sbs-manager: use dev_err_probe
power: supply: sbs-manager: update gpio include
power: supply: core: reduce loglevel for probe defer info
drivers/power/supply/power_supply_core.c | 4 +-
drivers/power/supply/sbs-battery.c | 28 +++------
drivers/power/supply/sbs-charger.c | 24 +++-----
drivers/power/supply/sbs-manager.c | 78 +++++++++---------------
4 files changed, 47 insertions(+), 87 deletions(-)
--
2.30.1
Powered by blists - more mailing lists