linux/drivers/firmware/google
Yuan Can 32b0901e14 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: 8942b2d509 ("gsmi: Add GSMI commands to log S0ix info")
Signed-off-by: Yuan Can <yuancan@huawei.com>
Acked-by: Brian Norris <briannorris@chromium.org>
Link: https://lore.kernel.org/r/20241015131344.20272-1-yuancan@huawei.com
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
2024-10-15 22:51:24 +00:00
..
cbmem.c firmware: google: add missing MODULE_DESCRIPTION() macros 2024-06-11 03:34:05 +00:00
coreboot_table.c Driver core changes for 6.11-rc1 2024-07-25 10:42:22 -07:00
coreboot_table.h firmware: coreboot: store owner from modules with coreboot_driver_register() 2024-04-03 15:09:26 +08:00
framebuffer-coreboot.c firmware: coreboot: Don't register a pdev if screen_info data is present 2024-09-30 01:40:51 +00:00
gsmi.c firmware: google: Unregister driver_info on failure 2024-10-15 22:51:24 +00:00
Kconfig firmware: coreboot: framebuffer: Allow building with simpledrm 2023-08-04 16:31:32 +02:00
Makefile firmware: google: Implement cbmem in sysfs driver 2022-11-10 18:51:56 +01:00
memconsole-coreboot.c firmware: google: add missing MODULE_DESCRIPTION() macros 2024-06-11 03:34:05 +00:00
memconsole-x86-legacy.c firmware: google: add missing MODULE_DESCRIPTION() macros 2024-06-11 03:34:05 +00:00
memconsole.c firmware: google: add missing MODULE_DESCRIPTION() macros 2024-06-11 03:34:05 +00:00
memconsole.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 287 2019-06-05 17:36:37 +02:00
vpd_decode.c firmware: google: increment VPD key_len properly 2019-10-11 08:41:34 +02:00
vpd_decode.h firmware: google: check if size is valid when decoding VPD data 2019-09-04 13:31:28 +02:00
vpd.c firmware: google: add missing MODULE_DESCRIPTION() macros 2024-06-11 03:34:05 +00:00