Thread (2 messages) 2 messages, 2 authors, 2017-10-17

Re: [PATCH] video: fbdev: pxa3xx_gcu: Use setup_timer and mod_timer

From: Bartlomiej Zolnierkiewicz <hidden>
Date: 2017-10-17 13:07:41
Also in: lkml

On Friday, September 29, 2017 01:46:31 AM Himanshu Jha wrote:
Use setup_timer and mod_timer API instead of structure assignments.

This is done using Coccinelle and semantic patch used
for this as follows:

@@
expression x,y,z,a,b;
@@

-init_timer (&x);
+setup_timer (&x, y, z);
+mod_timer (&a, b);
-x.function = y;
-x.data = z;
-x.expires = b;
-add_timer(&a);

Signed-off-by: Himanshu Jha <redacted>
Patch queued for 4.15, thanks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help