aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorVladimir Oltean <[email protected]>2021-09-22 18:10:29 +0300
committerDavid S. Miller <[email protected]>2021-09-23 12:46:22 +0100
commit33e1501f5a5fd1d682d43c4f5a03bc6c9a742d1e (patch)
treecd92d4ea4d8bb27a580ae527d019057ca3800573 /tools/perf/scripts/python/stackcollapse.py
parenta7597f79d3b1d040c347adfd50ec0d50483deba0 (diff)
net: dsa: sja1105: don't keep a persistent reference to the reset GPIO
The driver only needs the reset GPIO for a very brief period, so instead of using devres and keeping the descriptor pointer inside priv, just use that descriptor inside the sja1105_hw_reset function and then let go of it. Also use gpiod_get_optional while at it, and error out on real errors (bad flags etc). Signed-off-by: Vladimir Oltean <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions