aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorGavin Shan <[email protected]>2020-09-22 23:04:15 +1000
committerWill Deacon <[email protected]>2020-09-28 21:52:22 +0100
commit63627cae41e33763ca967bd2bb8cfe5d281bfe64 (patch)
treee2786042052a83057368dd1b892731471185bf3e /scripts/gdb/linux/modules.py
parent10fd7c42b7953b3316806388493bff22abd3f78c (diff)
firmware: arm_sdei: Unregister driver on error in sdei_init()
The SDEI platform device is created from device-tree node or ACPI (SDEI) table. For the later case, the platform device is created explicitly by this module. It'd better to unregister the driver on failure to create the device to keep the symmetry. The driver, owned by this module, isn't needed if the device isn't existing. Besides, the errno (@ret) should be updated accordingly in this case. 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