counter: Introduce the COUNTER_COMP_FREQUENCY() macro
authorFabrice Gasnier <fabrice.gasnier@foss.st.com>
Wed, 6 Mar 2024 15:36:31 +0000 (16:36 +0100)
committerWilliam Breathitt Gray <wbg@kernel.org>
Tue, 2 Apr 2024 17:10:34 +0000 (13:10 -0400)
commit2f48aba356a004d854bc6d77fbc032b2fc666911
tree17fe17ae71f242b682ed8888892d5d54dfa9ecb1
parente0363c0706a187b037c06e1f30b2ac0fb44c31c3
counter: Introduce the COUNTER_COMP_FREQUENCY() macro

Now that there are two users for the "frequency" extension, introduce a
new COUNTER_COMP_FREQUENCY() macro.
This extension is intended to be a read-only signal attribute.

Suggested-by: William Breathitt Gray <william.gray@linaro.org>
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Link: https://lore.kernel.org/r/20240306153631.4051115-1-fabrice.gasnier@foss.st.com
Signed-off-by: William Breathitt Gray <william.gray@linaro.org>
include/linux/counter.h