usb: gadget: modify gserial and grmnet structures

Rename send_cpkt_request to send_encap_cmd & send_cbits_tomodem
to notify_modem.
Update notify_modem and send_encap_cmd functions' parameter to
void pointer.
Remove struct grmnet pointer parameter from send_encap_cmd
function.

Above changes are done to come up with generic callbacks registered
by transport drivers for both the structures.

Change-Id: I149386186d42a5c77adca2da2a7b4bdcf4c01e88
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
diff --git a/drivers/usb/gadget/u_sdio.c b/drivers/usb/gadget/u_sdio.c
index 6ba7543..9bd4370 100644
--- a/drivers/usb/gadget/u_sdio.c
+++ b/drivers/usb/gadget/u_sdio.c
@@ -639,10 +639,11 @@
 			port->cbits_to_modem, ~(port->cbits_to_modem));
 }
 
-void gsdio_ctrl_notify_modem(struct gserial *gser, u8 portno, int ctrl_bits)
+void gsdio_ctrl_notify_modem(void *gptr, u8 portno, int ctrl_bits)
 {
 	struct gsdio_port *port;
 	int temp;
+	struct gserial *gser = gptr;
 
 	if (portno >= n_sdio_ports) {
 		pr_err("%s: invalid portno#%d\n", __func__, portno);