ARM: OMAP2+: gpmc: Get rid of "ti,elm-id not found" warning
Subsystems (5)
PATCH 1/1 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 <[email protected]>
Signed-off-by Roger Quadros <[email protected]>
--- arch/arm/mach-omap2/gpmc.c | 2 -- 1 file changed, 2 deletions(-)
arch/arm/mach-omap2/gpmc.c +0 -2
@@ -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)) {
Signature · 1 line
1.8.3.2
Tony Lindgren
maintainerQuoted 14 lines · Roger Quadros
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(-)arch/arm/mach-omap2/gpmc.c +0
-0
arch/arm/mach-omap2/gpmc.c static int gpmc_probe_nand_child(struct platform_device *pdev, · line 1399
Quoted 8 lines
arch/arm/mach-omap2/gpmc.c +0
-2@@ -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)) {
I'll apply this into omap-for-v3.19/fixes-not-urgent as that's where the various error and warning message fixes are.
Thanks,
Tony