Skip to contentSkip to conversation

memory: omap-gpmc: drop no compatible check

GIT PULL Applied Krzysztof Kozlowski 2 participants 2 messages Mar 10, 2025 – Mar 14, 2025

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

From: Roger Quadros <[email protected]>

We are no longer depending on legacy device trees so drop the no compatible check for NAND and OneNAND nodes.

---

Hi Arnd,

One patch for current cycle (fixes), because of_property_read_bool() will generate warnings in v6.14 reading non-bool properties.

BR,
Krzysztof

 drivers/memory/omap-gpmc.c | 20 --------------------
 1 file changed, 20 deletions(-)
drivers/memory/omap-gpmc.c +0 -20
index e2a75a52563f..53f1888cc84f 100644
@@ -2226,26 +2226,6 @@ static int gpmc_probe_generic_child(struct platform_device *pdev,
 		goto err;
 	}
 
-	if (of_node_name_eq(child, "nand")) {
-		/* Warn about older DT blobs with no compatible property */
-		if (!of_property_read_bool(child, "compatible")) {
-			dev_warn(&pdev->dev,
-				 "Incompatible NAND node: missing compatible");
-			ret = -EINVAL;
-			goto err;
-		}
-	}
-
-	if (of_node_name_eq(child, "onenand")) {
-		/* Warn about older DT blobs with no compatible property */
-		if (!of_property_read_bool(child, "compatible")) {
-			dev_warn(&pdev->dev,
-				 "Incompatible OneNAND node: missing compatible");
-			ret = -EINVAL;
-			goto err;
-		}
-	}
-
 	if (of_match_node(omap_nand_ids, child)) {
 		/* NAND specific setup */
 		val = 8;
Signature · 1 line
2.43.0
#1 lore raw
This patch was applied to soc/soc.git (arm/fixes) by Arnd Bergmann <[email protected]>:

Hello:

This patch was applied to soc/soc.git (arm/fixes)
by Arnd Bergmann <[email protected]>:

Quoted 6 lines · On Mon, 10 Mar 2025 15:15:14 +0100 you wrote:

From: Roger Quadros <[email protected]>

We are no longer depending on legacy device trees so drop the no compatible check for NAND and OneNAND nodes.

Quoted 7 lines

[...]

Here is the summary with links:
- [GIT,PULL,fixes] memory: omap-gpmc: drop no compatible check

    https://git.kernel.org/soc/soc/c/edcccc6892f6

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html