[PATCH 3/7] mfd: mt6397: Drop of_compatible for regulator
matthias.bgg at kernel.org
matthias.bgg at kernel.org
Fri Mar 12 14:55:41 GMT 2021
From: Matthias Brugger <mbrugger at suse.com>
For regulators a compatible string is superfluous. Drop the string.
Signed-off-by: Matthias Brugger <mbrugger at suse.com>
---
drivers/mfd/mt6397-core.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/mfd/mt6397-core.c b/drivers/mfd/mt6397-core.c
index 7518d74c3b4c3..13037f4bc54e7 100644
--- a/drivers/mfd/mt6397-core.c
+++ b/drivers/mfd/mt6397-core.c
@@ -67,7 +67,6 @@ static const struct mfd_cell mt6323_devs[] = {
.of_compatible = "mediatek,mt6323-rtc",
}, {
.name = "mt6323-regulator",
- .of_compatible = "mediatek,mt6323-regulator"
}, {
.name = "mt6323-led",
.of_compatible = "mediatek,mt6323-led"
@@ -87,7 +86,6 @@ static const struct mfd_cell mt6323_devs[] = {
static const struct mfd_cell mt6358_devs[] = {
{
.name = "mt6358-regulator",
- .of_compatible = "mediatek,mt6358-regulator"
}, {
.name = "mt6358-rtc",
.num_resources = ARRAY_SIZE(mt6358_rtc_resources),
@@ -107,7 +105,6 @@ static const struct mfd_cell mt6397_devs[] = {
.of_compatible = "mediatek,mt6397-rtc",
}, {
.name = "mt6397-regulator",
- .of_compatible = "mediatek,mt6397-regulator",
}, {
.name = "mt6397-codec",
.of_compatible = "mediatek,mt6397-codec",
--
2.30.1
More information about the linux-arm-kernel
mailing list