goto error_svc;
}
+ retval = gb_firmware_protocol_init();
+ if (retval) {
+ pr_err("gb_firmware_protocol_init failed\n");
+ goto error_firmware;
+ }
+
return 0; /* Success */
+error_firmware:
+ gb_svc_protocol_exit();
error_svc:
gb_control_protocol_exit();
error_control:
static void __exit gb_exit(void)
{
+ gb_firmware_protocol_exit();
gb_svc_protocol_exit();
gb_control_protocol_exit();
gb_endo_exit();