Joe Perches
031366ea65
staging: rts5208: Remove TRACE_RET and TRACE_GOTO macros
...
Remove these flow hiding macros.
Miscellanea:
o Add a macro and function to replace a large inline
o Simplify #includes
o Add trace.c and update Makefile
o Remove static inline filename function and use kbasename instead
This reduces object size quite a lot: ~350KB (x86-64 allyesconfig)
$ size drivers/staging/rts5208/built-in.o*
text data bss dec hex filename
248385 36728 77888 363001 589f9 drivers/staging/rts5208/built-in.o.new
506691 83352 115896 705939 ac593 drivers/staging/rts5208/built-in.o.old
Done via coccinelle script and some typing.
@@
expression chip;
expression ret;
@@
- TRACE_RET(chip, ret);
+ rtsx_trace(chip);
+ return ret;
@@
expression chip;
identifier label;
@@
- TRACE_GOTO(chip, label);
+ rtsx_trace(chip);
+ goto label;
Signed-off-by: Joe Perches <joe@perches.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2015-03-26 13:16:19 +01:00
..
2015-03-20 14:56:19 +01:00
2015-02-10 10:23:15 +00:00
2015-03-01 18:43:51 -08:00
2015-03-02 12:08:43 -05:00
2015-01-18 00:28:41 -05:00
2015-03-17 10:41:26 -07:00
2015-01-29 10:54:43 +02:00
2015-02-28 10:21:57 -08:00
2015-02-23 09:30:35 +02:00
2015-02-17 09:27:54 -08:00
2015-03-17 10:36:01 -07:00
2015-03-15 15:07:08 -07:00
2015-03-05 15:01:37 +01:00
2015-01-07 13:08:04 +01:00
2015-02-04 10:42:55 -08:00
2015-03-06 13:43:33 -08:00
2015-03-13 18:31:29 +01:00
2015-02-18 08:49:20 -08:00
2015-02-13 21:39:06 +01:00
2015-03-23 21:36:48 +01:00
2015-01-22 16:29:31 +05:30
2015-02-19 11:18:14 -08:00
2015-01-26 13:47:55 +09:00
2015-02-02 21:56:03 +01:00
2015-03-02 14:18:57 +01:00
2015-02-23 15:40:32 +01:00
2015-03-20 17:32:21 +10:00
2015-03-17 20:59:55 +01:00
2015-01-04 20:19:30 +01:00
2015-02-15 10:48:44 -08:00
2015-02-22 20:10:30 -08:00
2015-03-12 10:23:05 +01:00
2015-03-18 23:25:57 -04:00
2015-02-15 19:40:09 +01:00
2015-03-24 22:53:52 +01:00
2015-03-18 15:17:11 -04:00
2015-03-19 16:43:10 -07:00
2015-03-03 14:04:12 +01:00
2015-03-15 01:41:26 +00:00
2015-03-15 22:24:37 -04:00
2015-02-02 14:36:10 -08:00
2015-02-18 09:24:01 -08:00
2014-12-19 19:32:47 +01:00
2015-02-11 12:56:40 -08:00
2015-02-03 15:48:51 -08:00
2015-03-22 16:38:19 -07:00
2015-02-11 17:06:05 -08:00
2015-01-29 22:57:43 -06:00
2015-02-03 15:58:39 -08:00
2015-02-18 09:05:48 -08:00
2015-03-01 19:34:50 -08:00
2015-03-19 11:26:35 +01:00
2015-03-21 10:36:44 -07:00
2015-03-18 22:37:38 -04:00
2015-02-04 09:15:18 +01:00
2015-03-19 08:46:54 -05:00
2015-01-16 10:04:43 -06:00
2015-01-15 13:44:50 +01:00
2015-03-12 09:45:46 -07:00
2015-03-11 14:21:23 +01:00
2015-03-13 17:14:39 +05:30
2015-03-18 10:56:46 +01:00
2015-02-21 11:12:07 -08:00
2015-02-21 04:29:16 +01:00
2015-01-28 15:08:10 +01:00
2015-03-13 23:18:44 +01:00
2015-01-22 17:31:21 +11:00
2015-02-18 08:40:29 +01:00
2015-02-18 08:49:20 -08:00
2015-03-16 11:43:24 +00:00
2015-01-16 19:11:31 -08:00
2015-03-13 15:55:42 +10:30
2015-03-18 01:58:16 +01:00
2015-02-26 09:24:48 +01:00
2015-03-21 11:24:38 -07:00
2015-02-24 07:26:12 +09:00
2015-02-17 09:38:59 -08:00
2015-03-06 21:10:56 +00:00
2015-02-11 14:38:29 -08:00
2015-03-26 13:16:19 +01:00
2015-03-19 23:26:46 -07:00
2015-03-05 01:47:57 -04:00
2015-03-11 16:39:52 +01:00
2015-01-12 05:04:13 -08:00
2015-03-22 11:33:55 -07:00
2015-02-15 10:24:55 -08:00
2015-03-12 09:51:38 -06:00
2015-03-21 11:24:38 -07:00
2015-02-26 10:23:15 +02:00
2015-03-17 12:12:21 +10:30
2015-03-06 17:03:22 -08:00
2015-03-06 00:46:31 +01:00
2015-03-21 11:24:38 -07:00
2015-02-03 15:58:39 -08:00
2014-12-22 11:47:37 +02:00