summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>2024-02-05 22:28:48 +0300
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2024-02-12 12:51:13 +0300
commit5694f274a060ebd0e7128c11501281197fb7a5ce (patch)
treeb7faaa485c1230c1b2824f46969d17262ef7baca /tools/perf/scripts/python/export-to-postgresql.py
parent3c7a47f6c5f0d3e3c6149b7eb920f420a741e969 (diff)
downloadlinux-5694f274a060ebd0e7128c11501281197fb7a5ce.tar.xz
gpio: sysfs: don't access gdev->chip if it's not needed
Don't dereference gdev->chip if the same information can be obtained from struct gpio_device. Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions