clocksource/drivers/moxart: Replace panic by pr_err
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 8 Sep 2016 12:25:40 +0000 (14:25 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 12 Sep 2016 05:28:38 +0000 (07:28 +0200)
commite2a2d38501cb759333342d97442b3742830752ca
tree4af05d709079885bb80f8212a0031f7ab3174f6a
parentcf1e929c8a389bc0be63f86100f962217ea99455
clocksource/drivers/moxart: Replace panic by pr_err

The clksrc-of code is supposed to catch the return code and fail gracefully.

Don't panic on error, but print the error and exit with a relevant error
code.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Joel Stanley <joel@jms.id.au>
drivers/clocksource/moxart_timer.c