aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorDavid Lechner <[email protected]>2025-02-10 22:33:27 +0000
committerBartosz Golaszewski <[email protected]>2025-02-12 09:29:27 +0000
commit91931af18bd22437e08e2471f5484d6fbdd8ab93 (patch)
treea23155b59f0e240fdc46143d1e85995bb5aa679c /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentLinux 6.14-rc1 (diff)
downloadkernel-91931af18bd22437e08e2471f5484d6fbdd8ab93.tar.gz
kernel-91931af18bd22437e08e2471f5484d6fbdd8ab93.zip
gpiolib: add gpiod_multi_set_value_cansleep()
Add a new gpiod_multi_set_value_cansleep() helper function with fewer parameters than gpiod_set_array_value_cansleep(). Calling gpiod_set_array_value_cansleep() can get quite verbose. In many cases, the first arguments all come from the same struct gpio_descs, so having a separate function where we can just pass that cuts down on the boilerplate. Signed-off-by: David Lechner <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions