aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorGavin Shan <[email protected]>2020-09-22 23:04:14 +1000
committerWill Deacon <[email protected]>2020-09-28 21:52:22 +0100
commit10fd7c42b7953b3316806388493bff22abd3f78c (patch)
treec9a73a075deb4bc8fa559e373cb1ecccde086c81 /scripts/gdb/linux/modules.py
parent663c0e89c8defd75a9d34ae31dbc315d6cf894bd (diff)
firmware: arm_sdei: Avoid nested statements in sdei_init()
In sdei_init(), the nested statements can be avoided by bailing on error from platform_driver_register() or absent ACPI SDEI table. With it, the code looks a bit more readable. Signed-off-by: Gavin Shan <[email protected]> Reviewed-by: Jonathan Cameron <[email protected]> Reviewed-by: James Morse <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions