aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/config.py
diff options
context:
space:
mode:
authorEnric Balletbo i Serra <[email protected]>2020-11-10 17:13:37 +0100
committerLee Jones <[email protected]>2020-11-19 08:30:11 +0000
commit86b9d170da98bae13b307d621638954aef645331 (patch)
treecb7a380fe18951ff78a319d9845a6d60229b04cb /scripts/gdb/linux/config.py
parent3650b228f83adda7e5ee532e2b90429c03f7b9ec (diff)
mfd: syscon: Add syscon_regmap_lookup_by_phandle_optional() function.
This adds syscon_regmap_lookup_by_phandle_optional() function to get an optional regmap. It behaves the same as syscon_regmap_lookup_by_phandle() except where there is no regmap phandle. In this case, instead of returning -ENODEV, the function returns NULL. This makes error checking simpler when the regmap phandle is optional. Suggested-by: Nicolas Boichat <[email protected]> Signed-off-by: Enric Balletbo i Serra <[email protected]> Reviewed-by: Matthias Brugger <[email protected]> Reviewed-by: Arnd Bergmann <[email protected]> Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions