This patch removes the unneccessary err prints when using
non-dpaa2 devices.
Fixes: e67a61614d0b ("bus/fslmc: support device iteration")

Signed-off-by: Hemant Agrawal <hemant.agra...@nxp.com>
---
 drivers/bus/fslmc/fslmc_bus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/bus/fslmc/fslmc_bus.c b/drivers/bus/fslmc/fslmc_bus.c
index 9e4146aba..a2f482516 100644
--- a/drivers/bus/fslmc/fslmc_bus.c
+++ b/drivers/bus/fslmc/fslmc_bus.c
@@ -601,7 +601,7 @@ fslmc_bus_dev_iterate(const void *start, const char *str,
 
        /* Expectation is that device would be name=device_name */
        if (strncmp(str, "name=", 5) != 0) {
-               DPAA2_BUS_ERR("Invalid device string (%s)\n", str);
+               DPAA2_BUS_DEBUG("Invalid device string (%s)\n", str);
                return NULL;
        }
 
-- 
2.17.1

Reply via email to