clocksource: sh_cmt: Split channel setup to separate function
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 27 Jan 2014 21:04:17 +0000 (22:04 +0100)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 16 Apr 2014 10:03:06 +0000 (12:03 +0200)
commitb882e7b13bc12b3d6b00e4ea2fe374413ddcdd2d
treec02e9f83d1c56d0011b7c9eeca5996faf972876f
parent2653caf4381f9adeec8c18dfec21ec3c855d801c
clocksource: sh_cmt: Split channel setup to separate function

Move the channel setup code from sh_cmt_setup to a new
sh_cmt_setup_channel function and call it from sh_cmt_setup.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
drivers/clocksource/sh_cmt.c