aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-11-16 16:17:28 +0200
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2022-11-28 19:00:32 +0100
commit4ef339bc053a62dac9017f80f7bb8cff0412bd29 (patch)
tree698a621459d87ac8f695c351ef7d26c0a7e7608f /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parent923d011febb4e2fb338036bb0ee6a0a7f9b10da1 (diff)
gpiolib: Unify access to the device properties
Some of the functions are using struct fwnode_handle, some struct device pointer. In the GPIO library the firmware node of the GPIO device is the same as GPIO node of the GPIO chip. Due to this fact we may use former to access properties everywhere in the code. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Brian Masney <bmasney@redhat.com> Tested-by: Marijn Suijten <marijn.suijten@somainline.org> [Bartosz: stick to the 80-char limit where it's not hurting readability] Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions