summaryrefslogtreecommitdiff
path: root/drivers/power/supply/Kconfig
diff options
context:
space:
mode:
authorDaniel Mack <daniel@zonque.org>2018-07-06 07:35:51 +0200
committerSebastian Reichel <sre@kernel.org>2018-07-11 18:09:09 +0200
commitbf49735537374c02fd4111bd5463e372f69c41f8 (patch)
tree380a984714c0cca718040a2e26d128fe5b2b6108 /drivers/power/supply/Kconfig
parentfae68031f7fbc8b6db58d87830ba7ed1d696fbb1 (diff)
power: supply: ds2760_battery: merge ds2760 supply driver with its w1 slave companion
This patch removes the w1 slave driver that used to register the w1 family and instanciate a platform device at runtime. The code now lives in the supply driver instead to avoid that level of indirection. The old device name "ds2760-battery.0" is preserved, so userspace applications can access the same virtual device nodes as before. Note that because the w1 core does not currently have a framework for suspend/resume, the driver now registers a PM notifier callback. Signed-off-by: Daniel Mack <daniel@zonque.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Diffstat (limited to 'drivers/power/supply/Kconfig')
-rw-r--r--drivers/power/supply/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/supply/Kconfig b/drivers/power/supply/Kconfig
index 428b426842f4..518a88c4adfa 100644
--- a/drivers/power/supply/Kconfig
+++ b/drivers/power/supply/Kconfig
@@ -92,7 +92,7 @@ config BATTERY_CPCAP
config BATTERY_DS2760
tristate "DS2760 battery driver (HP iPAQ & others)"
- depends on W1 && W1_SLAVE_DS2760
+ depends on W1
help
Say Y here to enable support for batteries with ds2760 chip.