aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_target.rs
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2025-01-11 18:42:52 +0000
committerMathieu Poirier <[email protected]>2025-01-15 17:03:48 +0000
commitfed4ec7442eb0e37eefae4a9602d9d93335f251c (patch)
tree5eafd41f8bbdad01ff211004f9c7675b361967e1 /scripts/generate_rust_target.rs
parentremoteproc: st: Simplify with dev_err_probe (diff)
downloadkernel-fed4ec7442eb0e37eefae4a9602d9d93335f251c.tar.gz
kernel-fed4ec7442eb0e37eefae4a9602d9d93335f251c.zip
remoteproc: 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() 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]> Link: https://lore.kernel.org/r/20250111-b4-syscon-phandle-args-remoteproc-v1-4-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