aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2024-03-10 12:00:59 +0100
committerUwe Kleine-König <[email protected]>2024-04-26 21:29:17 +0200
commit7db42aa2b629de0a103f603f41c5b0929c66ccda (patch)
treebb3666650dfd2715a0ae413fa34e9e7f366af709 /tools/perf/scripts/python/bin
parentc0143f68919e6e36a4fa8816ddb49d266f3b21de (diff)
pwm: sti: Prefer local variable over pointer dereference
While the compiler probably optimizes out the pointer dereference, using the local variable holding the same value also benefits the human reader. So simplify accordingly. Also move a loop over all capture lines into the capture if block to group the operations related to capturing in .probe(). Link: https://lore.kernel.org/r/a7a81f3838f7ed7f4d6dbee3d646989cc265f676.1710068192.git.u.kleine-koenig@pengutronix.de Signed-off-by: Uwe Kleine-König <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions