summaryrefslogtreecommitdiff
path: root/scripts/extract-fwblobs
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2025-01-11 21:54:09 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2025-01-13 18:36:13 +0300
commit1931cd769a087cfea2f2e1f74769001a7a3be9f1 (patch)
treec2655f1934d09554e0c442e258f3f727883d4f14 /scripts/extract-fwblobs
parent57a217f193f3b77161a307dd9963ac19d66a17d1 (diff)
downloadlinux-1931cd769a087cfea2f2e1f74769001a7a3be9f1.tar.xz
mmc: hi3798mv200: 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://lore.kernel.org/all/20250111185410.183896-1-krzysztof.kozlowski@linaro.org>/ Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'scripts/extract-fwblobs')
0 files changed, 0 insertions, 0 deletions