File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -262,11 +262,11 @@ order to communicate with the device: to read and write various Signals
262
262
and Counts, and to set and get the "action mode" and "function mode" for
263
263
various Synapses and Counts respectively.
264
264
265
- A defined counter_device structure may be registered to the system by
266
- passing it to the counter_register function, and unregistered by passing
267
- it to the counter_unregister function. Similarly, the
268
- devm_counter_register function may be used if device memory-managed
269
- registration is desired .
265
+ A counter_device structure is allocated using counter_alloc() and then
266
+ registered to the system by passing it to the counter_add() function, and
267
+ unregistered by passing it to the counter_unregister function. There are
268
+ device managed variants of these functions: devm_counter_alloc() and
269
+ devm_counter_add() .
270
270
271
271
The struct counter_comp structure is used to define counter extensions
272
272
for Signals, Synapses, and Counts.
You can’t perform that action at this time.
0 commit comments