]> git.baikalelectronics.ru Git - kernel.git/commit
clocksource/drivers/time-armada-370-xp: Fix return value check
authorAnna-Maria Gleixner <anna-maria@linutronix.de>
Tue, 12 Jul 2016 14:40:09 +0000 (16:40 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 12 Jul 2016 15:33:22 +0000 (17:33 +0200)
commit8818c510d70eeb97f3ab7930b7ace47a1a88cadb
treeda6f69e825a1d0622ee8e87cd30091e01bce5985
parent0c077eebeb1c5bd66ed46737b806e7d79049c064
clocksource/drivers/time-armada-370-xp: Fix return value check

The failure check of armada_370_xp_timer_setup() in
armada_370_xp_timer_common_init() is negated. This leads to an error message
and exit in case of a successful initialization.  Remove the stray '!'.

Fixes: d01d8d1b823c ("clocksource/drivers/time-armada-370-xp: Convert init function to return error")
Signed-off-by: Anna-Maria Gleixner <anna-maria@linutronix.de>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: http://lkml.kernel.org/r/alpine.DEB.2.11.1607121731020.1344@hypnos.tec.linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/clocksource/time-armada-370-xp.c