mirror of
https://github.com/torvalds/linux.git
synced 2026-03-13 23:46:14 +01:00
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>
This commit is contained in:
parent
4b986b68e6
commit
916baadd29
1 changed files with 1 additions and 1 deletions
|
|
@ -369,7 +369,7 @@ static const enum counter_synapse_action ecap_cnt_input_actions[] = {
|
|||
};
|
||||
|
||||
static struct counter_comp ecap_cnt_clock_ext[] = {
|
||||
COUNTER_COMP_SIGNAL_U64("frequency", ecap_cnt_clk_get_freq, NULL),
|
||||
COUNTER_COMP_FREQUENCY(ecap_cnt_clk_get_freq),
|
||||
};
|
||||
|
||||
static const enum counter_signal_polarity ecap_cnt_pol_avail[] = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue