Tag: 81906c357a37bd82ca041bbdde9c663ea656f300

Staging: comedi: Use function setup_timer for combining initialization

Author: Somya Anand <somyaanand214@gmail.com> The function setup_timer combines the initialization of a timer with the initialization of the timer’s function and data fields. So, this patch combines the multiline code for timer initialization using the function setup_timer. This issue is identified via coccinelle script. @@ expression E1, E2, E3; type T; @@ – init_timer(&E1); … …

Continue reading