OSDN Git Service

staging: emxx_udc: Fix unsigned int to bare use of unsigned
authorAnchal Jain <anchalj109@gmail.com>
Wed, 14 Sep 2016 18:08:04 +0000 (23:38 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Sep 2016 08:10:34 +0000 (10:10 +0200)
This is a patch to fixes up a
WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
found by the checkpatch.pl tool

Signed-off-by: Anchal Jain <anchalj109@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/emxx_udc/emxx_udc.h

index 39769e3..789bfb9 100644 (file)
@@ -586,7 +586,7 @@ struct nbu2ss_udc {
        unsigned                remote_wakeup:1;
        unsigned                udc_enabled:1;
 
-       unsigned                mA;
+       unsigned int            mA;
 
        u32             curr_config;    /* Current Configuration Number */