diff options
author | Bartosz Golaszewski <[email protected]> | 2024-01-24 17:13:51 +0100 |
---|---|---|
committer | Bartosz Golaszewski <[email protected]> | 2024-02-12 10:51:03 +0100 |
commit | f4e14d45d7fe95f6c1c136baf9e232234669dfed (patch) | |
tree | f3f9999b56db238b3298c7fcf72f36a7865ce8a1 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | b93bca4bd6d221d5f34a20d69ec0f1ec636ae7df (diff) |
gpio: cdev: replace gpiochip_get_desc() with gpio_device_get_desc()
gpio_device_get_desc() is the safer alternative to gpiochip_get_desc().
As we don't really need to dereference the chip pointer to retrieve the
descriptors in character device code, let's use it.
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