aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>2024-02-05 20:28:48 +0100
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2024-02-12 10:51:13 +0100
commit5694f274a060ebd0e7128c11501281197fb7a5ce (patch)
treeb7faaa485c1230c1b2824f46969d17262ef7baca /tools/perf/scripts/python/export-to-postgresql.py
parentgpio: cdev: don't access gdev->chip if it's not needed (diff)
downloadwireguard-linux-5694f274a060ebd0e7128c11501281197fb7a5ce.tar.xz
wireguard-linux-5694f274a060ebd0e7128c11501281197fb7a5ce.zip
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