memory: omap-gpmc: drop no compatible check
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.
Suggested-by Rob Herring (Arm) <[email protected]>
Signed-off-by Roger Quadros <[email protected]>
Reviewed-by Rob Herring (Arm) <[email protected]>
Link https://lore.kernel.org/r/20250114-omap-gpmc-drop-no-compatible-check-v1-1-262c8d549732@kernel.org open here
Signed-off-by Krzysztof Kozlowski <[email protected]>
---
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
@@ -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
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
Suggested-by Rob Herring (Arm) <[email protected]>Signed-off-by Roger Quadros <[email protected]>Reviewed-by Rob Herring (Arm) <[email protected]>Link https://lore.kernel.org/r/20250114-omap-gpmc-drop-no-compatible-check-v1-1-262c8d549732@kernel.org open hereSigned-off-by Krzysztof Kozlowski <[email protected]>[...]
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