summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2017-08-23 17:35:22 +0300
committerMark Brown <broonie@kernel.org>2017-08-23 18:50:00 +0300
commitcd6d6477f130c861c42e6eddc060e7c880e94bf3 (patch)
tree363b2348ac37b787c10f4b336f6e0642c35a8f0c /tools/perf/scripts/python/netdev-times.py
parentcb0236eca79c8ceb5cdb8d2a15ce272e754d2921 (diff)
downloadlinux-cd6d6477f130c861c42e6eddc060e7c880e94bf3.tar.xz
ASoC: rt5645: make rt5645_platform_data const
Make these const as they are only used during a copy operation. Done using Coccinelle. @match disable optional_qualifier@ identifier s; @@ static struct rt5645_platform_data s = {...}; @ref@ position p; identifier match.s; @@ s@p @good1@ position ref.p; identifier match.s,f,c; expression e; @@ ( e = s@p | e = s@p.f | c(...,s@p.f,...) | 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 rt5645_platform_data s; Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions