mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
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>
This commit is contained in:
parent
d008d8e053
commit
b771ca920c
1 changed files with 0 additions and 2 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue