diff options
author | Roberta Dobrescu <roberta.dobrescu@gmail.com> | 2014-12-16 11:11:46 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-12-26 09:38:42 +0000 |
commit | 762c4da347109398bbcc7783b7ce2496664442ed (patch) | |
tree | af40feac9e9199e116d260b356008ea0250a10bc | |
parent | d9d0ac96554c21e40fd56982bc7f8f4bc557f16a (diff) | |
download | linux-stable-762c4da347109398bbcc7783b7ce2496664442ed.tar.gz linux-stable-762c4da347109398bbcc7783b7ce2496664442ed.tar.bz2 linux-stable-762c4da347109398bbcc7783b7ce2496664442ed.zip |
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>
-rw-r--r-- | drivers/iio/frequency/adf4350.c | 3 |
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) if (st->clk) clk_disable_unprepare(st->clk); - if (!IS_ERR(reg)) { + if (!IS_ERR(reg)) regulator_disable(reg); - } return 0; } |