Skip to contentSkip to conversation

mfd: stmfx: remove .of_compatible from stmfx_cells for idd and ts

PATCH New Amelie Delaunay 1 participant 1 message Nov 16, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mfd: stmfx: remove .of_compatible from stmfx_cells for idd and ts

idd and ts features are not described in stmfx bindings. Remove the .of_compatible field from relative mfd_cells to avoid having to add corresponding disabled node in device trees using stmfx:

		stmfx_idd: idd {
			status = "disabled";
		};
		stmfx_ts: stmfx_ts {
			status = "disabled";
		};

Then, the warning "Failed to locate of_node [id: -1]" wont appear anymore. .of_compatible could be added as soon as idd or ts bindings are described and drivers available.

---
 drivers/mfd/stmfx.c | 2 --
 1 file changed, 2 deletions(-)
drivers/mfd/stmfx.c +0 -2
index 988e2ba6dd0f..39b2fc952b7d 100644
@@ -81,13 +81,11 @@ static struct mfd_cell stmfx_cells[] = {
 		.num_resources = ARRAY_SIZE(stmfx_pinctrl_resources),
 	},
 	{
-		.of_compatible = "st,stmfx-0300-idd",
 		.name = "stmfx-idd",
 		.resources = stmfx_idd_resources,
 		.num_resources = ARRAY_SIZE(stmfx_idd_resources),
 	},
 	{
-		.of_compatible = "st,stmfx-0300-ts",
 		.name = "stmfx-ts",
 		.resources = stmfx_ts_resources,
 		.num_resources = ARRAY_SIZE(stmfx_ts_resources),
Signature · 1 line
2.17.1