summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2025-04-15 13:43:01 +0300
committerChun-Kuang Hu <chunkuang.hu@kernel.org>2025-04-17 02:39:05 +0300
commit1b0965f495cdd678ee95caeccd85c6afb3c4fea1 (patch)
tree2fea322a28220e81e9b23cc7ec36742dbdb1e565 /scripts/gdb/linux/proc.py
parent8745e78c8a06b817a9a315817eb83090c92bfd9b (diff)
downloadlinux-1b0965f495cdd678ee95caeccd85c6afb3c4fea1.tar.xz
drm/mediatek/hdmi: 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 <krzysztof.kozlowski@linaro.org> Link: https://patchwork.kernel.org/project/dri-devel/patch/20250415104321.51149-4-angelogioacchino.delregno@collabora.com/ Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions