mtd: use tabs for indents
authorRafał Miłecki <zajec5@gmail.com>
Mon, 9 May 2016 07:55:08 +0000 (07:55 +0000)
committerLuka Perkov <luka@openwrt.org>
Sun, 19 Jun 2016 17:56:13 +0000 (19:56 +0200)
This makes code style consistent across the whole file.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r49300

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49302 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/system/mtd/src/mtd.c

index 0247630..6650068 100644 (file)
@@ -897,16 +897,16 @@ int main (int argc, char **argv)
                        mtd_write_jffs2(device, imagefile, jffs2dir);
                        break;
                case CMD_FIXTRX:
-                   if (mtd_fixtrx) {
-                           mtd_fixtrx(device, offset);
-            }
+                       if (mtd_fixtrx) {
+                               mtd_fixtrx(device, offset);
+                       }
                case CMD_RESETBC:
-                   if (mtd_resetbc) {
-                           mtd_resetbc(device);
-            }
+                       if (mtd_resetbc) {
+                               mtd_resetbc(device);
+                       }
                case CMD_FIXSEAMA:
                        if (mtd_fixseama)
-                           mtd_fixseama(device, 0);
+                               mtd_fixseama(device, 0);
                        break;
        }