Modification of coding rule violation 11/149211/1 accepted/tizen/unified/20170912.191908 submit/tizen/20170912.020543
authorINSUN PYO <insun.pyo@samsung.com>
Tue, 12 Sep 2017 01:53:29 +0000 (10:53 +0900)
committerINSUN PYO <insun.pyo@samsung.com>
Tue, 12 Sep 2017 01:56:44 +0000 (01:56 +0000)
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I21e21fb7444722f7559b3dc8de7b2540e00e7ef8
(cherry picked from commit b688a4a641f3d0582cd9a9ffd0bf66254fbf3294)

hw/battery/battery.c
hw/usb_client/usb_client.c

index 6baf474..076a542 100755 (executable)
@@ -57,7 +57,7 @@ static void remove_not_string(char *str)
 {
        char *t = str;
 
-       while(*t != '\0') {
+       while (*t != '\0') {
                if (*t == '\r' ||
                        *t == '\n' ||
                        *t == '\x0a')
index 455e741..2716eea 100644 (file)
@@ -172,7 +172,7 @@ static int legacy_alloc_config(int n_funcs, struct usb_configuration **_config)
        if (!config->funcs)
                goto free_strs;
 
-       /* 
+       /*
         * We cannot read correct values
         * so assume that they are always default
         */
@@ -444,7 +444,7 @@ static int legacy_set_gadget_strs(struct usb_gadget_strings *strs)
        /*
         * TODO
         * Here is a good place to ensure that serial is immutable
-        */     
+        */
 
        if (strs->manufacturer) {
                ret = sys_set_str(LEGACY_IMANUFACTURER_PATH,
@@ -531,7 +531,7 @@ static int legacy_enable(struct usb_client *usb)
 static int legacy_disable(struct usb_client *usb)
 {
        return sys_set_str(LEGACY_ENABLE_PATH,
-                          LEGACY_DISABLE);     
+                          LEGACY_DISABLE);
 }
 
 static void legacy_free_config(struct usb_configuration *config)