]> git.baikalelectronics.ru Git - kernel.git/commit
clocksource: em_sti: Convert to devm_* managed helpers
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 30 Jul 2013 14:24:37 +0000 (16:24 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 21 Aug 2013 22:18:42 +0000 (00:18 +0200)
commit9afa34b703200af29a931b3cbfdf9b3e5eab6cba
tree12f69068646b9deec2ef0a3b41d46b12b2dd46cc
parent0a882a260da12aebe7335a1d3488ea56d3b89c41
clocksource: em_sti: Convert to devm_* managed helpers

Replace kzalloc, clk_get, ioremap and request_irq by their managed
counterparts to simplify error paths.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/em_sti.c