clocksource/drivers/timer-of: Fix invalid iomap check
commit22ece4e3df6335e691207de1198a609e761b8640
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 20 Jun 2017 05:51:11 +0000 (20 07:51 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 26 Jun 2017 16:32:04 +0000 (26 18:32 +0200)
treef5fd74578f3ab5f4b573d37e4fe1474d1acbc4f6
parent9902747ec57d11b27c98e53d66112ecceed43c82
clocksource/drivers/timer-of: Fix invalid iomap check

A typo in the code checks the return value of iomap against !NULL
and, thus, fails everytime the mapping succeed.

Fix this by inverting the condition in the check.

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