summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/max8997.c
diff options
context:
space:
mode:
authorTimon Baetz <timon.baetz@protonmail.com>2021-04-05 09:14:35 +0200
committerLee Jones <lee.jones@linaro.org>2021-04-14 17:06:53 +0200
commit2397c3eef24c3511d2065f4b99c1fae399b9e0df (patch)
tree4e9601505b25e152260473f342487d8305e73263 /drivers/mfd/max8997.c
parentmfd: twl: Remove unused inline function twl4030charger_usb_en() (diff)
downloadlinux-2397c3eef24c3511d2065f4b99c1fae399b9e0df.tar.xz
linux-2397c3eef24c3511d2065f4b99c1fae399b9e0df.zip
Revert "mfd: max8997: Add of_compatible to Extcon and Charger mfd_cell"
This reverts commit 9c03008da125c1007919a9186628af3cc105f526. commit 41a8a027f4d3 ("regulator: dt-bindings: Document charger-supply for max8997") introduced a binding which uses a property of the max8997 pmic node to configure charger supply, making subnodes for MFD cells obsolete. Signed-off-by: Timon Baetz <timon.baetz@protonmail.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/max8997.c')
-rw-r--r--drivers/mfd/max8997.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mfd/max8997.c b/drivers/mfd/max8997.c
index 55d3a6f97783..68d8f2b95287 100644
--- a/drivers/mfd/max8997.c
+++ b/drivers/mfd/max8997.c
@@ -29,9 +29,9 @@
static const struct mfd_cell max8997_devs[] = {
{ .name = "max8997-pmic", },
{ .name = "max8997-rtc", },
- { .name = "max8997-battery", .of_compatible = "maxim,max8997-battery", },
+ { .name = "max8997-battery", },
{ .name = "max8997-haptic", },
- { .name = "max8997-muic", .of_compatible = "maxim,max8997-muic", },
+ { .name = "max8997-muic", },
{ .name = "max8997-led", .id = 1 },
{ .name = "max8997-led", .id = 2 },
};