mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
tpm_tis: fix the error handling of init_tis()
am: 84c2697c9c
Change-Id: I02ecd01133a00a9f80f0e752c4c35a4111ba3424
This commit is contained in:
@@ -421,7 +421,7 @@ err_pnp:
|
||||
acpi_bus_unregister_driver(&tis_acpi_driver);
|
||||
err_acpi:
|
||||
#endif
|
||||
platform_device_unregister(force_pdev);
|
||||
platform_driver_unregister(&tis_drv);
|
||||
err_platform:
|
||||
if (force_pdev)
|
||||
platform_device_unregister(force_pdev);
|
||||
|
||||
Reference in New Issue
Block a user