Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

regulator: sy7636a: Remove requirement on sy7636a mfd

Signed-off-by: Alistair Francis <alistair@alistair23.me>
Link: https://lore.kernel.org/r/20211015122551.38951-5-alistair@alistair23.me
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Alistair Francis and committed by
Mark Brown
cb17820e 061514db

+1 -2
-1
drivers/regulator/Kconfig
··· 1199 1199 1200 1200 config REGULATOR_SY7636A 1201 1201 tristate "Silergy SY7636A voltage regulator" 1202 - depends on MFD_SY7636A 1203 1202 help 1204 1203 This driver supports Silergy SY3686A voltage regulator. 1205 1204
+1 -1
drivers/regulator/sy7636a-regulator.c
··· 70 70 71 71 static int sy7636a_regulator_probe(struct platform_device *pdev) 72 72 { 73 - struct regmap *regmap = dev_get_drvdata(pdev->dev.parent); 73 + struct regmap *regmap = dev_get_regmap(pdev->dev.parent, NULL); 74 74 struct regulator_config config = { }; 75 75 struct regulator_dev *rdev; 76 76 struct gpio_desc *gdp;