counter: ti-ecap-capture: Utilize COUNTER_COMP_FREQUENCY macro
authorWilliam Breathitt Gray <wbg@kernel.org>
Thu, 21 Mar 2024 16:32:16 +0000 (12:32 -0400)
committerWilliam Breathitt Gray <wbg@kernel.org>
Tue, 2 Apr 2024 17:15:03 +0000 (13:15 -0400)
commit916baadd293a4d11e08a7ca1e2968314451ade6c
tree8eec0c8cbac96f9dd36abac65ac4b3c2f885f7b8
parent4b986b68e6993c512106548ed712aebe40d3605e
counter: ti-ecap-capture: Utilize COUNTER_COMP_FREQUENCY macro

Reduce boilerplate by leveraging the COUNTER_COMP_FREQUENCY() macro to
define the "frequency" extension.

Link: https://lore.kernel.org/r/ZfxhEKdSi1amfcJC@ishi
Signed-off-by: William Breathitt Gray <wbg@kernel.org>
drivers/counter/ti-ecap-capture.c