clocksource/drivers/h8300_timer16: Fix irq return value check
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 9 Nov 2015 09:52:35 +0000 (10:52 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 15 Dec 2015 08:42:26 +0000 (09:42 +0100)
commit5019c9023251efd3bfa22b1090d8ad1901914c93
tree39319edf81620ee7a70238aab4c4186822fb7e5f
parent903e5fd3f857c978ff8a75ae4bc5c51e6161031c
clocksource/drivers/h8300_timer16: Fix irq return value check

The function irq_of_parse_and_map returns zero in case of failure.

Fix the return code test to check against zero.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/h8300_timer16.c