iio: frequency: Remove unnecessary braces around single statement block
This patch fixes the following checkpatch.pl warning: WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Roberta Dobrescu <roberta.dobrescu@gmail.com> Acked-by: Lars-Peter Clausen <lars@metafoo.de> Reviewed-by: Daniel Baluta <daniel.baluta@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
parent
d9d0ac9655
commit
762c4da347
|
@ -611,9 +611,8 @@ static int adf4350_remove(struct spi_device *spi)
|
||||||
if (st->clk)
|
if (st->clk)
|
||||||
clk_disable_unprepare(st->clk);
|
clk_disable_unprepare(st->clk);
|
||||||
|
|
||||||
if (!IS_ERR(reg)) {
|
if (!IS_ERR(reg))
|
||||||
regulator_disable(reg);
|
regulator_disable(reg);
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue