diff options
| author | Helen Fornazier <[email protected]> | 2015-03-25 20:56:43 -0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2015-03-26 10:40:31 +0100 |
| commit | 4ebe6f46cb20b004e94e9862509085f6b7e69366 (patch) | |
| tree | bcdb1b2cce1dc63db310043b22e058dd016d65fc /tools/perf/scripts/python | |
| parent | 1f5f636c7746d2badbb960b51a13a1bb1edb1304 (diff) | |
staging: fbtft: Remove do {} while(0) in single statement macro
This patch fixes the checkpatch.pl warning:
WARNING: Single statement macros should not use a do {} while (0) loop
+#define write_reg(par, ...) \
+do { \
+ par->fbtftops.write_register(par, NUMARGS(__VA_ARGS__), __VA_ARGS__); \
+} while (0)
Signed-off-by: Helen Fornazier <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions