OMAP3 and lower SoCs don't have the ELM module so this warning
is annoying. Get rid of it.

Reported-by: Tony Lindgren <[email protected]>
Signed-off-by: Roger Quadros <[email protected]>
---
 arch/arm/mach-omap2/gpmc.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/arm/mach-omap2/gpmc.c b/arch/arm/mach-omap2/gpmc.c
index 104bc2c..2334235 100644
--- a/arch/arm/mach-omap2/gpmc.c
+++ b/arch/arm/mach-omap2/gpmc.c
@@ -1394,8 +1394,6 @@ static int gpmc_probe_nand_child(struct platform_device 
*pdev,
        if (gpmc_nand_data->elm_of_node == NULL)
                gpmc_nand_data->elm_of_node =
                                        of_parse_phandle(child, "elm_id", 0);
-       if (gpmc_nand_data->elm_of_node == NULL)
-               pr_warn("%s: ti,elm-id property not found\n", __func__);
 
        /* select ecc-scheme for NAND */
        if (of_property_read_string(child, "ti,nand-ecc-opt", &s)) {
-- 
1.8.3.2

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to