]> git.karo-electronics.de Git - karo-tx-linux.git/commit
clocksource: sh_cmt: Introduce per-register functions
authorMagnus Damm <damm@opensource.se>
Fri, 14 Dec 2012 05:54:00 +0000 (14:54 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 13 Feb 2013 10:53:27 +0000 (19:53 +0900)
commit0964a77666b8da7341a8cebc22d3c403767f7638
tree64d1727480ddac82e23c6b4812d90dd3c7eaab63
parent6629a983206f8f6f282a88493c2f8920c0c6abee
clocksource: sh_cmt: Introduce per-register functions

Introduce sh_cmt_read_cmstr/cmcsr/cmcnt() and
sh_cmt_write_cmstr/cmcsr/cmcnt/cmcor() to in the
future allow us to split counter registers from
control registers and reduce code complexity by
removing sh_cmt_read() and sh_cmt_write().

Signed-off-by: Magnus Damm <damm@opensource.se>
Acked-by: John Stultz <john.stultz@linaro.org>
Tested-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/clocksource/sh_cmt.c