Skip to content

Commit 762c4da

Browse files
robertaDobrescujic23
authored andcommitted
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>
1 parent d9d0ac9 commit 762c4da

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎drivers/iio/frequency/adf4350.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -611,9 +611,8 @@ static int adf4350_remove(struct spi_device *spi)
611611
if (st->clk)
612612
clk_disable_unprepare(st->clk);
613613

614-
if (!IS_ERR(reg)) {
614+
if (!IS_ERR(reg))
615615
regulator_disable(reg);
616-
}
617616

618617
return 0;
619618
}

0 commit comments

Comments
 (0)