aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorBhumika Goyal <[email protected]>2017-08-28 03:21:35 -0400
committerMauro Carvalho Chehab <[email protected]>2017-09-23 08:27:42 -0400
commit2b83247f3e4a40c767dcbc149b7ad544e2e6c002 (patch)
tree151bafe2bf0f3a6614547bf56dec696e78e09ef9 /tools/perf/scripts/python/syscall-counts.py
parent9722e5696ca729044462c4456ddde90061809f7e (diff)
media: usb: make i2c_client const
Make these const as they are only used in a copy operation. Done using Coccinelle. @match disable optional_qualifier@ identifier s; @@ static struct i2c_client s = {...}; @ref@ position p; identifier match.s; @@ s@p @good1@ position ref.p; identifier match.s,f,c; expression e; @@ ( e = s@p | e = [email protected] | c(...,[email protected],...) | c(...,s@p,...) ) @bad depends on !good1@ position ref.p; identifier match.s; @@ s@p @depends on forall !bad disable optional_qualifier@ identifier match.s; @@ static + const struct i2c_client s; Signed-off-by: Bhumika Goyal <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions