linux/arch/mips/mti-malta
Kees Cook 24ed960abf treewide: Switch DEFINE_TIMER callbacks to struct timer_list *
This changes all DEFINE_TIMER() callbacks to use a struct timer_list
pointer instead of unsigned long. Since the data argument has already been
removed, none of these callbacks are using their argument currently, so
this renames the argument to "unused".

Done using the following semantic patch:

@match_define_timer@
declarer name DEFINE_TIMER;
identifier _timer, _callback;
@@

 DEFINE_TIMER(_timer, _callback);

@change_callback depends on match_define_timer@
identifier match_define_timer._callback;
type _origtype;
identifier _origarg;
@@

 void
-_callback(_origtype _origarg)
+_callback(struct timer_list *unused)
 { ... }

Signed-off-by: Kees Cook <keescook@chromium.org>
2017-11-21 15:57:05 -08:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
malta-amon.c
malta-display.c treewide: Switch DEFINE_TIMER callbacks to struct timer_list * 2017-11-21 15:57:05 -08:00
malta-dt.c Update MIPS email addresses 2017-11-03 09:02:30 -07:00
malta-dtshim.c Update MIPS email addresses 2017-11-03 09:02:30 -07:00
malta-init.c MIPS: CPS: Have asm/mips-cps.h include CM & CPC headers 2017-08-30 00:57:27 +02:00
malta-int.c MIPS: Use mips_gic_present() in place of gic_present 2017-09-04 13:53:14 +02:00
malta-memory.c tree-wide: replace config_enabled() with IS_ENABLED() 2016-08-04 08:50:07 -04:00
malta-platform.c MIPS: Audit and remove any unnecessary uses of module.h 2017-02-14 09:00:25 +00:00
malta-pm.c Update MIPS email addresses 2017-11-03 09:02:30 -07:00
malta-reset.c MIPS: Malta: Remove custom halt implementation 2016-10-06 17:31:01 +02:00
malta-setup.c MIPS: CPS: Cluster support for topology functions 2017-08-30 00:57:28 +02:00
malta-time.c irqchip: mips-gic: Move gic_get_c0_*_int() to asm/mips-gic.h 2017-09-04 13:53:14 +02:00
Platform