aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <[email protected]>2024-02-05 20:28:48 +0100
committerBartosz Golaszewski <[email protected]>2024-02-12 10:51:13 +0100
commit5694f274a060ebd0e7128c11501281197fb7a5ce (patch)
treeb7faaa485c1230c1b2824f46969d17262ef7baca /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parent3c7a47f6c5f0d3e3c6149b7eb920f420a741e969 (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/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions