aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMichał Mirosław <[email protected]>2020-08-12 03:31:37 +0200
committerMark Brown <[email protected]>2020-08-17 13:13:54 +0100
commit2dbf085594370abc1453356518719300d8a7acc1 (patch)
treeb2c84d9898cd4fe08fd1606ca6f1c1013a10fd8e /tools/perf/scripts/python/export-to-postgresql.py
parentd3c731564e09b6c2ebefcd1344743a91a237d6dc (diff)
regulator: cleanup regulator_ena_gpio_free()
Since only regulator_ena_gpio_request() allocates rdev->ena_pin, and it guarantees that same gpiod gets same pin structure, it is enough to compare just the pointers. Also we know there can be only one matching entry on the list. Rework the code take advantage of the facts. Signed-off-by: Michał Mirosław <[email protected]> Link: https://lore.kernel.org/r/3ff002c7aa3bd774491af4291a9df23541fcf892.1597195321.git.mirq-linux@rere.qmqm.pl Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions