greybus: i2c-gb: move i2c protocol into the gpbridge driver

The i2c protocol belongs in the gpbridge driver, so move it
there.

Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Reviewed-by: Alex Elder <elder@linaro.org>
diff --git a/drivers/staging/greybus/gpb.c b/drivers/staging/greybus/gpb.c
index 0c4f46c..0776df6 100644
--- a/drivers/staging/greybus/gpb.c
+++ b/drivers/staging/greybus/gpb.c
@@ -41,8 +41,14 @@
 		pr_err("error initializing usb protocol\n");
 		goto error_usb;
 	}
+	if (gb_i2c_protocol_init()) {
+		pr_err("error initializing usb protocol\n");
+		goto error_i2c;
+	}
 	return 0;
 
+error_i2c:
+	gb_usb_protocol_exit();
 error_usb:
 	gb_sdio_protocol_exit();
 error_sdio:
@@ -57,6 +63,7 @@
 
 static void __exit gpbridge_exit(void)
 {
+	gb_i2c_protocol_exit();
 	gb_usb_protocol_exit();
 	gb_sdio_protocol_exit();
 	gb_uart_protocol_exit();