mirror of https://github.com/torvalds/linux.git
The ssi_init() returns the platform_driver_register() directly without
checking its return value, if platform_driver_register() failed, the
ssi_pdriver is not unregistered.
Fix by unregister ssi_pdriver when the last platform_driver_register()
failed.
Fixes:
|
||
|---|---|---|
| .. | ||
| clients | ||
| controllers | ||
| Kconfig | ||
| Makefile | ||
| hsi_boardinfo.c | ||
| hsi_core.c | ||
| hsi_core.h | ||