diff options
author | 2024-01-31 11:40:57 +0100 | |
---|---|---|
committer | 2024-02-12 10:51:17 +0100 | |
commit | 7fe595b3c3cf3f9b8f21fce72f1f48a2cb41522e (patch) | |
tree | f50f32f2d5de863f82ecf1278670f30cee1fe2bc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpio: sysfs: don't access gdev->chip if it's not needed (diff) | |
download | wireguard-linux-7fe595b3c3cf3f9b8f21fce72f1f48a2cb41522e.tar.xz wireguard-linux-7fe595b3c3cf3f9b8f21fce72f1f48a2cb41522e.zip |
gpio: don't dereference gdev->chip in gpiochip_setup_dev()
We don't need to dereference gdev->chip in gpiochip_setup_dev() as at
the time it's called, the label in the associated struct gpio_device is
already set.
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