clocksource/drivers/em_sti: Fix error return codes in em_sti_probe()
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Fri, 30 Jun 2017 06:14:45 +0000 (01:14 -0500)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 10 Aug 2017 12:48:18 +0000 (14:48 +0200)
commit5c23a558a65406cac472df07fd26a2688a42cad2
tree3aff0312715a45df9b8d7f904beff276cf1fb7cd
parentd197f7988721221fac64f899efd7657c15281810
clocksource/drivers/em_sti: Fix error return codes in em_sti_probe()

Propagate the return values of platform_get_irq and devm_request_irq on
failure.

Cc: Frans Klaver <fransklaver@gmail.com>
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/em_sti.c