]> www.infradead.org Git - linux.git/commit
counter: 104-quad-8: Utilize helper functions to handle PR, FLAG and PSC
authorWilliam Breathitt Gray <william.gray@linaro.org>
Mon, 17 Apr 2023 19:50:49 +0000 (15:50 -0400)
committerWilliam Breathitt Gray <william.gray@linaro.org>
Fri, 19 May 2023 00:39:46 +0000 (20:39 -0400)
commit142c8622b5b28f4fa2b5609c69474e03e723779f
tree9556eb4c9c05273e0ccab534b06dcf8868587dda
parent4d8df1689fadec2be9fb585c24f291d0bc3af532
counter: 104-quad-8: Utilize helper functions to handle PR, FLAG and PSC

The Preset Register (PR), Flag Register (FLAG), and Filter Clock
Prescaler (PSC) have common usage patterns. Wrap up such usage into
dedicated functions to improve code clarity.

Link: https://lore.kernel.org/r/a2d663337bf2907e0283023c06b1ddcbb32f7f6d.1681753140.git.william.gray@linaro.org/
Signed-off-by: William Breathitt Gray <william.gray@linaro.org>
drivers/counter/104-quad-8.c