diff mbox series

power: supply: mm8013: select REGMAP_I2C

Message ID 20240204-mm8013-regmap-v1-1-7cc6b619b7d3@weissschuh.net
State Accepted
Commit 30d5297862410418bb8f8b4c0a87fa55c3063dd7
Headers show
Series power: supply: mm8013: select REGMAP_I2C | expand

Commit Message

Thomas Weißschuh Feb. 4, 2024, 5:30 p.m. UTC
The driver uses regmap APIs so it should make sure they are available.

Fixes: c75f4bf6800b ("power: supply: Introduce MM8013 fuel gauge driver")
Cc:  <stable@vger.kernel.org>
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
 drivers/power/supply/Kconfig | 1 +
 1 file changed, 1 insertion(+)


---
base-commit: 54be6c6c5ae8e0d93a6c4641cb7528eb0b6ba478
change-id: 20240204-mm8013-regmap-d8d18ada07c2

Best regards,

Comments

Konrad Dybcio Feb. 6, 2024, 6:45 p.m. UTC | #1
On 4.02.2024 18:30, Thomas Weißschuh wrote:
> The driver uses regmap APIs so it should make sure they are available.
> 
> Fixes: c75f4bf6800b ("power: supply: Introduce MM8013 fuel gauge driver")
> Cc:  <stable@vger.kernel.org>
> Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
> ---

Thanks!

Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>

Konrad
Sebastian Reichel Feb. 12, 2024, 12:16 a.m. UTC | #2
On Sun, 04 Feb 2024 18:30:43 +0100, Thomas Weißschuh wrote:
> The driver uses regmap APIs so it should make sure they are available.
> 
> 

Applied, thanks!

[1/1] power: supply: mm8013: select REGMAP_I2C
      commit: 30d5297862410418bb8f8b4c0a87fa55c3063dd7

Best regards,
diff mbox series

Patch

diff --git a/drivers/power/supply/Kconfig b/drivers/power/supply/Kconfig
index f21cb05815ec..3e31375491d5 100644
--- a/drivers/power/supply/Kconfig
+++ b/drivers/power/supply/Kconfig
@@ -978,6 +978,7 @@  config CHARGER_QCOM_SMB2
 config FUEL_GAUGE_MM8013
 	tristate "Mitsumi MM8013 fuel gauge driver"
 	depends on I2C
+	select REGMAP_I2C
 	help
 	  Say Y here to enable the Mitsumi MM8013 fuel gauge driver.
 	  It enables the monitoring of many battery parameters, including