aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <[email protected]>2023-10-13 07:23:40 +0000
committerBartosz Golaszewski <[email protected]>2023-10-18 07:47:48 +0000
commitdc850faa28ee0ac18e5e192526cdfa1da0b9d951 (patch)
tree7315949eb116f9a443f1e0cb530b511b7ef5d05b /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentgpiolib: provide gpio_device_get_base() (diff)
downloadkernel-dc850faa28ee0ac18e5e192526cdfa1da0b9d951.tar.gz
kernel-dc850faa28ee0ac18e5e192526cdfa1da0b9d951.zip
hte: tegra194: don't access struct gpio_chip
Using struct gpio_chip is not safe as it will disappear if the underlying driver is unbound for any reason. Switch to using reference counted struct gpio_device and its dedicated accessors. Signed-off-by: Bartosz Golaszewski <[email protected]> Tested-by: Dipen Patel <[email protected]> Reviewed-by: Linus Walleij <[email protected]> [andy: used gpio_device_find_by_fwnode()] Reviewed-by: Dipen Patel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Andy Shevchenko <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions