提交 b771ca92 编写于 作者: R Roger Quadros 提交者: Tony Lindgren

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: NTony Lindgren <tony@atomide.com>
Signed-off-by: NRoger Quadros <rogerq@ti.com>
Signed-off-by: NTony Lindgren <tony@atomide.com>
上级 d008d8e0
...@@ -1394,8 +1394,6 @@ static int gpmc_probe_nand_child(struct platform_device *pdev, ...@@ -1394,8 +1394,6 @@ static int gpmc_probe_nand_child(struct platform_device *pdev,
if (gpmc_nand_data->elm_of_node == NULL) if (gpmc_nand_data->elm_of_node == NULL)
gpmc_nand_data->elm_of_node = gpmc_nand_data->elm_of_node =
of_parse_phandle(child, "elm_id", 0); 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 */ /* select ecc-scheme for NAND */
if (of_property_read_string(child, "ti,nand-ecc-opt", &s)) { if (of_property_read_string(child, "ti,nand-ecc-opt", &s)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册