drivers: ipa: print dev_err info accurately

Print certain name string instead of hard-coded "memory" for dev_err
output, which would be more accurate and helpful for debugging.

Signed-off-by: Wang Wenhu <wenhu.wang@vivo.com>
Cc: Alex Elder <elder@kernel.org>
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Wang Wenhu 2020-05-24 23:29:51 -07:00 committed by David S. Miller
parent eabd5c9dd0
commit 07153961f8

View File

@ -66,8 +66,8 @@ ipa_interconnect_init_one(struct device *dev, const char *name)
path = of_icc_get(dev, name);
if (IS_ERR(path))
dev_err(dev, "error %ld getting memory interconnect\n",
PTR_ERR(path));
dev_err(dev, "error %ld getting %s interconnect\n",
PTR_ERR(path), name);
return path;
}