aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_target.rs
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2025-01-11 18:42:53 +0000
committerMathieu Poirier <[email protected]>2025-01-15 17:04:27 +0000
commit3a53ff95b0be9a5d0ef5037e539558d0041f9a89 (patch)
tree208ea5c7ab16e5087bd0ad95f77dd0d52081902b /scripts/generate_rust_target.rs
parentremoteproc: keystone: Use syscon_regmap_lookup_by_phandle_args (diff)
downloadkernel-3a53ff95b0be9a5d0ef5037e539558d0041f9a89.tar.gz
kernel-3a53ff95b0be9a5d0ef5037e539558d0041f9a89.zip
remoteproc: st: Use syscon_regmap_lookup_by_phandle_args
Use syscon_regmap_lookup_by_phandle_args() which is a wrapper over syscon_regmap_lookup_by_phandle() and getting the 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]> Reviewed-by: Patrice Chotard <[email protected]> Link: https://lore.kernel.org/r/20250111-b4-syscon-phandle-args-remoteproc-v1-5-73ed6fafa1e3@linaro.org Signed-off-by: Mathieu Poirier <[email protected]>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions