Tag: 5b6490def9168af6a1609df910a7800bcbc97977

3c59x: Use setup_timer()

Author: Amitoj Kaur Chawla <amitoj1606@gmail.com> Convert a call to init_timer and accompanying intializations of the timer’s data and function fields to a call to setup_timer. The Coccinelle semantic patch that fixes this problem is as follows: // @@ expression t,f,d; @@ -init_timer(&t); +setup_timer(&t,f,d); … -t.data = d; -t.function = f; // Signed-off-by: Amitoj Kaur Chawla …

Continue reading