summaryrefslogtreecommitdiff
path: root/arch/frv/kernel/head-uc-fr401.S
diff options
context:
space:
mode:
authorAya Mahfouz <mahfouz.saif.elyazal@gmail.com>2015-02-19 08:00:56 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-02-26 13:12:40 -0800
commit7d2b3cf7cfb328cc494cc4775c60bbf5f2fa2ce2 (patch)
treef9ca87c5830fdcd0e3b83975b3062aae13c811e7 /arch/frv/kernel/head-uc-fr401.S
parent4fde58bb43512fc283ea76e90d20198da177fb69 (diff)
staging: slicloss: replace init_timer by setup_timer
This patch replaces init_timer and the 2 step initialization of function and data by setup_timer to make the code more concise. The issue was discovered using the following coccinelle script: @@ expression ds, e1, e2; @@ -init_timer (&ds); +setup_timer (&ds, e1, e2); ... ( -ds.function = e1; ... -ds.data = e2; | -ds.data = e2; ... -ds.function = e1; ) Signed-off-by: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/frv/kernel/head-uc-fr401.S')
0 files changed, 0 insertions, 0 deletions