aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/task.c
diff options
context:
space:
mode:
authorYuan Can <[email protected]>2024-10-15 13:13:44 +0000
committerTzung-Bi Shih <[email protected]>2024-10-15 22:51:24 +0000
commit32b0901e141f6d4cf49d820b53eb09b88b1f72f7 (patch)
tree76643a82e605e849e1db979fc3ba8f712af6a02e /rust/helpers/task.c
parentfirmware: coreboot: Don't register a pdev if screen_info data is present (diff)
downloadkernel-32b0901e141f6d4cf49d820b53eb09b88b1f72f7.tar.gz
kernel-32b0901e141f6d4cf49d820b53eb09b88b1f72f7.zip
firmware: google: Unregister driver_info on failure
When platform_device_register_full() returns error, the gsmi_init() returns without unregister gsmi_driver_info, fix by add missing platform_driver_unregister() when platform_device_register_full() failed. Fixes: 8942b2d5094b ("gsmi: Add GSMI commands to log S0ix info") Signed-off-by: Yuan Can <[email protected]> Acked-by: Brian Norris <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Tzung-Bi Shih <[email protected]>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions