We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6a8b5bb + cb17820 commit 79738f1Copy full SHA for 79738f1
drivers/regulator/Kconfig
@@ -1199,7 +1199,6 @@ config REGULATOR_STW481X_VMMC
1199
1200
config REGULATOR_SY7636A
1201
tristate "Silergy SY7636A voltage regulator"
1202
- depends on MFD_SY7636A
1203
help
1204
This driver supports Silergy SY3686A voltage regulator.
1205
drivers/regulator/sy7636a-regulator.c
@@ -70,7 +70,7 @@ static const struct regulator_desc desc = {
70
71
static int sy7636a_regulator_probe(struct platform_device *pdev)
72
{
73
- struct regmap *regmap = dev_get_drvdata(pdev->dev.parent);
+ struct regmap *regmap = dev_get_regmap(pdev->dev.parent, NULL);
74
struct regulator_config config = { };
75
struct regulator_dev *rdev;
76
struct gpio_desc *gdp;
0 commit comments