aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/frequency
diff options
context:
space:
mode:
authorRoberta Dobrescu <roberta.dobrescu@gmail.com>2014-12-16 04:11:46 -0500
committerJonathan Cameron <jic23@kernel.org>2014-12-26 04:38:42 -0500
commit762c4da347109398bbcc7783b7ce2496664442ed (patch)
treeaf40feac9e9199e116d260b356008ea0250a10bc /drivers/iio/frequency
parentd9d0ac96554c21e40fd56982bc7f8f4bc557f16a (diff)
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>
Diffstat (limited to 'drivers/iio/frequency')
-rw-r--r--drivers/iio/frequency/adf4350.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/iio/frequency/adf4350.c b/drivers/iio/frequency/adf4350.c
index 2b301eba1d76..10a0dfc3b01f 100644
--- a/drivers/iio/frequency/adf4350.c
+++ b/drivers/iio/frequency/adf4350.c
@@ -611,9 +611,8 @@ static int adf4350_remove(struct spi_device *spi)
611 if (st->clk) 611 if (st->clk)
612 clk_disable_unprepare(st->clk); 612 clk_disable_unprepare(st->clk);
613 613
614 if (!IS_ERR(reg)) { 614 if (!IS_ERR(reg))
615 regulator_disable(reg); 615 regulator_disable(reg);
616 }
617 616
618 return 0; 617 return 0;
619} 618}