clocksource/drivers/h8300_timer8: Fix irq return value check
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Sun, 8 Nov 2015 16:56:18 +0000 (17:56 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 15 Dec 2015 08:42:14 +0000 (09:42 +0100)
commit54a0cd5a7e107ba0cf15a4fb876595d0c8a7faab
tree1543a9628df66a680f168a6cc65c3e32b29024fc
parent1f058d52b3e32b919742d451c673b3ab71c487dc
clocksource/drivers/h8300_timer8: Fix irq return value check

The value returned in case of error for the 'irq_of_parse_and_map' function is
zero in case of error. Fix the check in the init code.

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