clocksource/drivers/cadence_ttc: fix a return value in case of error
authorChristophe Jaillet <christophe.jaillet@wanadoo.fr>
Wed, 6 Jul 2016 05:35:23 +0000 (07:35 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 7 Jul 2016 07:44:38 +0000 (09:44 +0200)
commit34c720a915857f168b98ab03f97b33784286e4ad
treecec02aa403f8c238a3dc680b1bb952738d384bb2
parent46fd5c6b3059462131caa4d52691c9c5666c3223
clocksource/drivers/cadence_ttc: fix a return value in case of error

IS_ERR and PTR_ERR should use the same variable, clk_ce in this case.

Fixes: 4de1eb07c47f (Convert init function to return error)
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Sören Brinkmann <soren.brinkmann@xilinx.com>
drivers/clocksource/cadence_ttc_timer.c