OSDN Git Service

net: ipa: use dev_err_probe() in ipa_clock.c
authorAlex Elder <elder@linaro.org>
Fri, 12 Feb 2021 14:33:59 +0000 (08:33 -0600)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Feb 2021 00:54:17 +0000 (16:54 -0800)
commit4c7ccfcd09fdc7f9edd1e453340be188f4044d8c
treece7575cfc2ba2c957aa2e462caaaa22acfd1228a
parent571b1e7e58ad30b3a842254aea50d2e83b2396e1
net: ipa: use dev_err_probe() in ipa_clock.c

When initializing the IPA core clock and interconnects, it's
possible we'll get an EPROBE_DEFER error.  This isn't really an
error, it's just means we need to be re-probed later.

Use dev_err_probe() to report the error rather than dev_err().
This avoids polluting the log with these "error" messages.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/ipa_clock.c