regulator: sy7636a: Remove requirement on sy7636a mfd
authorAlistair Francis <alistair@alistair23.me>
Mon, 24 Jan 2022 12:10:05 +0000 (22:10 +1000)
committerLee Jones <lee.jones@linaro.org>
Tue, 8 Feb 2022 09:27:28 +0000 (09:27 +0000)
Signed-off-by: Alistair Francis <alistair@alistair23.me>
Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/regulator/Kconfig
drivers/regulator/sy7636a-regulator.c

index 1c35fed..25ae5f0 100644 (file)
@@ -1208,7 +1208,6 @@ config REGULATOR_STW481X_VMMC
 
 config REGULATOR_SY7636A
        tristate "Silergy SY7636A voltage regulator"
-       depends on MFD_SY7636A
        help
          This driver supports Silergy SY3686A voltage regulator.
 
index 22fddf8..29fc27c 100644 (file)
@@ -7,11 +7,14 @@
 // Authors: Lars Ivar Miljeteig <lars.ivar.miljeteig@remarkable.com>
 //          Alistair Francis <alistair@alistair23.me>
 
+#include <linux/gpio/consumer.h>
+#include <linux/i2c.h>
+#include <linux/mfd/sy7636a.h>
 #include <linux/module.h>
 #include <linux/platform_device.h>
+#include <linux/regulator/driver.h>
+#include <linux/regulator/machine.h>
 #include <linux/regmap.h>
-#include <linux/gpio/consumer.h>
-#include <linux/mfd/sy7636a.h>
 
 struct sy7636a_data {
        struct regmap *regmap;