diff options
| author | Bartosz Golaszewski <[email protected]> | 2024-02-05 20:28:48 +0100 |
|---|---|---|
| committer | Bartosz Golaszewski <[email protected]> | 2024-02-12 10:51:13 +0100 |
| commit | 5694f274a060ebd0e7128c11501281197fb7a5ce (patch) | |
| tree | b7faaa485c1230c1b2824f46969d17262ef7baca /drivers/fpga/fpga-mgr.c | |
| parent | 3c7a47f6c5f0d3e3c6149b7eb920f420a741e969 (diff) | |
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 <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Acked-by: Andy Shevchenko <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions