Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: OMAP2+: gpmc: Get rid of "ti,elm-id not found" warning

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

Reported-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>

authored by

Roger Quadros and committed by
Tony Lindgren
b771ca92 d008d8e0

-2
-2
arch/arm/mach-omap2/gpmc.c
··· 1394 1394 if (gpmc_nand_data->elm_of_node == NULL) 1395 1395 gpmc_nand_data->elm_of_node = 1396 1396 of_parse_phandle(child, "elm_id", 0); 1397 - if (gpmc_nand_data->elm_of_node == NULL) 1398 - pr_warn("%s: ti,elm-id property not found\n", __func__); 1399 1397 1400 1398 /* select ecc-scheme for NAND */ 1401 1399 if (of_property_read_string(child, "ti,nand-ecc-opt", &s)) {