aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2025-06-24 12:22:31 +0000
committerJoerg Roedel <[email protected]>2025-06-27 07:21:52 +0000
commit26d1c1f9e3111cac346346eb38eb2dc6a3c53993 (patch)
treec0759ad4064f00338d4b014697affeb532a1be82 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentiommu/omap: Drop redundant check if ti,syscon-mmuconfig exists (diff)
downloadkernel-26d1c1f9e3111cac346346eb38eb2dc6a3c53993.tar.gz
kernel-26d1c1f9e3111cac346346eb38eb2dc6a3c53993.zip
iommu/omap: Use syscon_regmap_lookup_by_phandle_args
Use syscon_regmap_lookup_by_phandle_args() which is a wrapper over syscon_regmap_lookup_by_phandle() combined with getting the syscon argument. Except simpler code this annotates within one line that given phandle has arguments, so grepping for code would be easier. There is also no real benefit in printing errors on missing syscon argument, because this is done just too late: runtime check on static/build-time data. Dtschema and Devicetree bindings offer the static/build-time check for this already. Reviewed-by: Robin Murphy <[email protected]> Signed-off-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions