diff options
author | Roger Quadros <rogerq@ti.com> | 2014-11-07 14:26:59 +0200 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2014-11-10 09:00:10 -0800 |
commit | b771ca920c06a429da4effb046234fd4a0bb3917 (patch) | |
tree | d3368f5a257bf6c097ca8aec1708e54acb7e6ae9 | |
parent | d008d8e053e702ec2acc9175d45ed233160e2831 (diff) | |
download | linux-b771ca920c06a429da4effb046234fd4a0bb3917.tar.gz linux-b771ca920c06a429da4effb046234fd4a0bb3917.tar.bz2 linux-b771ca920c06a429da4effb046234fd4a0bb3917.zip |
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>
-rw-r--r-- | arch/arm/mach-omap2/gpmc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/gpmc.c b/arch/arm/mach-omap2/gpmc.c index 5fa3755261ce..8fb5bbce102f 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)) { |