iio: adc: vf610_adc: fix case label indent
authorSlawomir Stepien <sst@poczta.fm>
Thu, 14 Apr 2016 19:36:35 +0000 (21:36 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sat, 16 Apr 2016 12:39:23 +0000 (13:39 +0100)
This fixes the error reported by checkpatch.pl:

ERROR: switch and case should be at the same indent

Signed-off-by: Slawomir Stepien <sst@poczta.fm>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/vf610_adc.c

index b10f629cc44b5e8aa27b9bde4a5c39fbc3694a5e..653bf1379d2e5ea02b62184e26fee530b34ae46c 100644 (file)
@@ -714,19 +714,19 @@ static int vf610_write_raw(struct iio_dev *indio_dev,
        int i;
 
        switch (mask) {
-               case IIO_CHAN_INFO_SAMP_FREQ:
-                       for (i = 0;
-                               i < ARRAY_SIZE(info->sample_freq_avail);
-                               i++)
-                               if (val == info->sample_freq_avail[i]) {
-                                       info->adc_feature.sample_rate = i;
-                                       vf610_adc_sample_set(info);
-                                       return 0;
-                               }
-                       break;
+       case IIO_CHAN_INFO_SAMP_FREQ:
+               for (i = 0;
+                       i < ARRAY_SIZE(info->sample_freq_avail);
+                       i++)
+                       if (val == info->sample_freq_avail[i]) {
+                               info->adc_feature.sample_rate = i;
+                               vf610_adc_sample_set(info);
+                               return 0;
+                       }
+               break;
 
-               default:
-                       break;
+       default:
+               break;
        }
 
        return -EINVAL;