Staging: emxx_udc: emxx_udc: fixed coding style issue
authorShyam Saini <mayhs11saini@gmail.com>
Sun, 8 May 2016 02:00:58 +0000 (07:30 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 May 2016 12:25:52 +0000 (14:25 +0200)
fixed checkpatch.pl warning about 'Prefer 'unsigned int' to bare use of
'unsigned'

Signed-off-by: Shyam Saini <mayhs11saini@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/emxx_udc/emxx_udc.c

index 58e189b..3bd9175 100644 (file)
@@ -3051,7 +3051,7 @@ static int nbu2ss_gad_vbus_session(struct usb_gadget *pgadget, int is_active)
 }
 
 /*-------------------------------------------------------------------------*/
-static int nbu2ss_gad_vbus_draw(struct usb_gadget *pgadget, unsigned mA)
+static int nbu2ss_gad_vbus_draw(struct usb_gadget *pgadget, unsigned int mA)
 {
        struct nbu2ss_udc       *udc;
        unsigned long           flags;
@@ -3101,7 +3101,7 @@ static int nbu2ss_gad_pullup(struct usb_gadget *pgadget, int is_on)
 /*-------------------------------------------------------------------------*/
 static int nbu2ss_gad_ioctl(
        struct usb_gadget *pgadget,
-       unsigned code,
+       unsigned int code,
        unsigned long param)
 {
        return 0;