diff options
| author | Vaishali Thakkar <vthakkar1994@gmail.com> | 2015-06-01 07:06:02 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2015-06-01 07:23:28 +0300 |
| commit | 12d5e6fd1d66a8faa14e4922035bfed70bf014d5 (patch) | |
| tree | 5315e8924fde8730cbb93bbb35cf41c696b39a4b /scripts/gdb/linux/modules.py | |
| parent | d80373146261326eb207cf98bbdbe33c8c569134 (diff) | |
| download | linux-12d5e6fd1d66a8faa14e4922035bfed70bf014d5.tar.xz | |
net: mv643xx_eth: Use setup_timer
Use the timer API function setup_timer instead of structure field
assignments to initialize a timer.
A simplified version of the Coccinelle semantic patch that performs
this transformation is as follows:
@change@
expression e, func, da;
@@
-init_timer (&e);
+setup_timer (&e, func, da);
-e.data = da;
-e.function = func;
Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions
