iio: adc: vf610_adc: fix case label indent
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>
This commit is contained in:
parent
fc0b81704f
commit
37dd441e4f
|
@ -714,19 +714,19 @@ static int vf610_write_raw(struct iio_dev *indio_dev,
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
switch (mask) {
|
switch (mask) {
|
||||||
case IIO_CHAN_INFO_SAMP_FREQ:
|
case IIO_CHAN_INFO_SAMP_FREQ:
|
||||||
for (i = 0;
|
for (i = 0;
|
||||||
i < ARRAY_SIZE(info->sample_freq_avail);
|
i < ARRAY_SIZE(info->sample_freq_avail);
|
||||||
i++)
|
i++)
|
||||||
if (val == info->sample_freq_avail[i]) {
|
if (val == info->sample_freq_avail[i]) {
|
||||||
info->adc_feature.sample_rate = i;
|
info->adc_feature.sample_rate = i;
|
||||||
vf610_adc_sample_set(info);
|
vf610_adc_sample_set(info);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
Loading…
Reference in New Issue