clocksource: sh_tmu: Split channel setup to separate function
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 27 Jan 2014 21:04:17 +0000 (22:04 +0100)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:14:43 +0000 (11:14 +0100)
commit0384cf26c15eeec9d6c59fb55f0a263be4d78627
tree4fcf57221bda2fe91bd3b8cea1741c56db26ce31
parentbe979c6d287db03992b980552f00ad5b38d7ffb7
clocksource: sh_tmu: Split channel setup to separate function

Move the channel setup code from sh_tmu_setup to a new
sh_tmu_setup_channel function and call it from sh_tmu_setup.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
(cherry picked from commit a94ddaa6fcd46e168736027535b2d81b6a18883f)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/clocksource/sh_tmu.c