aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorNishanth Menon <[email protected]>2016-05-05 19:29:49 -0500
committerMark Brown <[email protected]>2016-05-06 18:15:17 +0100
commit036d193d3337365e0d69cff9bb2593bfc1210e7b (patch)
treecff0a27bb78eb07ea041cde2655759ebe341233d /tools/perf/util/trace-event-scripting.c
parente0341f1732237777d65bdda7184ea4b11fb31d53 (diff)
regulator: tps65917/palmas: Simplify multiple dereference of ddata->palmas_matches[idx]
Converting dt to platform data logic involves picking up information that is unique per regulator, however we can improve readability of the code by dereferencing ddata->palmas_matches[idx] once in the loop. While at it fix reuse of generic palmas_matches common variable while reporting error for a specific regulator (which may be from 65917/palmas list). Signed-off-by: Nishanth Menon <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions