diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-10-31 09:07:18 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-11-01 12:25:33 -0400 |
commit | 130b31eccf3365bd5a2b8c49906dfbdfeb1b424f (patch) | |
tree | 7c5b412fc2b971614a9aeed8e83c68562e490380 /tools/perf/scripts/python/intel-pt-events.py | |
parent | e2cec86528becf143341e2c5c59921bd6cfa1f45 (diff) |
media: atomisp: fix ident for assert/return
On lots of places, assert/return are starting at the first
column, causing indentation issues, as complained by spatch:
drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_common/host/irq_private.h:32 irq_reg_store() warn: inconsistent indenting
Used this small script to fix such occurrences:
for i in $(git grep -l -E "^(assert|return)" drivers/staging/media/); do perl -ne 's/^(assert|return)\b/\t$1/; print $_' <$i >a && mv a $i; done
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Acked-by: Sakari Ailus <sakari.ailus@iki.fi>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions