aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2025-01-11 18:54:14 +0000
committerThomas Gleixner <[email protected]>2025-01-15 08:47:46 +0000
commit877c76dbb98b164f58d328c246ad33ec2db1030f (patch)
treebc50dff170685a6883433affa57e37ed47fc435a /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentgenirq/kexec: Prevent redundant IRQ masking by checking state before shutdown (diff)
downloadkernel-877c76dbb98b164f58d328c246ad33ec2db1030f.tar.gz
kernel-877c76dbb98b164f58d328c246ad33ec2db1030f.zip
irqchip: keystone: 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. Signed-off-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/all/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions