power: supply: goldfish: Remove the GOLDFISH dependency
authorRoman Kiryanov <rkir@google.com>
Sat, 6 Feb 2021 02:31:18 +0000 (18:31 -0800)
committerSebastian Reichel <sre@kernel.org>
Mon, 5 Apr 2021 10:10:11 +0000 (12:10 +0200)
This will allow to use the BATTERY_GOLDFISH driver
without enabling GOLDFISH.

Signed-off-by: Roman Kiryanov <rkir@google.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/Kconfig

index 006b95e..0003eff 100644 (file)
@@ -704,11 +704,11 @@ config AB8500_BM
 
 config BATTERY_GOLDFISH
        tristate "Goldfish battery driver"
-       depends on GOLDFISH || COMPILE_TEST
        depends on HAS_IOMEM
        help
-         Say Y to enable support for the battery and AC power in the
-         Goldfish emulator.
+         Say Y to enable support for the Goldfish battery and AC power
+         driver. Originated in the Android Studio Emulator (goldfish) it is
+         going to be used in other emulators.
 
 config BATTERY_RT5033
        tristate "RT5033 fuel gauge support"