clocksource: Kona: Print warning rather than panic
authorTim Kryger <tim.kryger@linaro.org>
Wed, 5 Feb 2014 00:15:04 +0000 (16:15 -0800)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 6 Feb 2014 15:01:40 +0000 (16:01 +0100)
commitad037c1f4ae6f9258f27fddb679ceb703ff07a88
treed852c00a23067af1ea75384b94162ecb1aa55a31
parent80d767d770fd9c697e434fd080c2db7b5c60c6dd
clocksource: Kona: Print warning rather than panic

Since there may be other clocksources available, this driver should not
trigger a panic simply because it can not determine the frequency of an
external clock.  This change refactors the driver to allow a warning to
be printed in this case instead.

Signed-off-by: Tim Kryger <tim.kryger@linaro.org>
Reviewed-by: Markus Mayer <markus.mayer@linaro.org>
Reviewed-by: Matt Porter <matt.porter@linaro.org>
Cc: Christian Daudt <bcm@fixthebug.org>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: http://lkml.kernel.org/r/1391559304-26558-1-git-send-email-tim.kryger@linaro.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/clocksource/bcm_kona_timer.c