summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2015-05-04 18:10:43 +0300
committerLinus Walleij <linus.walleij@linaro.org>2015-05-12 11:47:35 +0300
commit56d30ec14c13303eb9e7c34358ba6549fc7b0121 (patch)
tree1d39883f05c4a462e55a645c442db81241debb55 /tools/perf/scripts/python/export-to-postgresql.py
parente4339ce32372e2f8c98222c0923b79476c29a309 (diff)
downloadlinux-56d30ec14c13303eb9e7c34358ba6549fc7b0121.tar.xz
gpio: sysfs: clean up gpiod_export_link locking
Drop unnecessary locking from gpiod_export_link. If the class device has not already been unregistered, class_find_device returns the ref-counted class device so there's no need for locking. Signed-off-by: Johan Hovold <johan@kernel.org> Reviewed-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions