summaryrefslogtreecommitdiff
path: root/drivers/leds/leds-adp5520.c
diff options
context:
space:
mode:
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>2016-06-30 11:44:01 +0300
committerDavid S. Miller <davem@davemloft.net>2016-07-01 12:58:26 +0300
commit466fc793da3aea0caf365e7fadc67473e4cdaa80 (patch)
tree913c3dd6485cb0ae5da04f0c1f823070ed02938c /drivers/leds/leds-adp5520.c
parente3cc6e37a7ce8f6b3d992893d169ff2c51835f5b (diff)
downloadlinux-466fc793da3aea0caf365e7fadc67473e4cdaa80.tar.xz
atm: horizon: Use setup_timer
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,d,f,e1; identifier x1; statement S1; @@ ( -t.data = d; | -t.function = f; | -init_timer(&t); +setup_timer(&t,f,d); | -init_timer_on_stack(&t); +setup_timer_on_stack(&t,f,d); ) <... when != S1 t.x1 = e1; ...> Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/leds/leds-adp5520.c')
0 files changed, 0 insertions, 0 deletions