Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Roberta Dobrescu and committed by
Jonathan Cameron
762c4da3 d9d0ac96

+1 -2
+1 -2
drivers/iio/frequency/adf4350.c
··· 611 611 if (st->clk) 612 612 clk_disable_unprepare(st->clk); 613 613 614 - if (!IS_ERR(reg)) { 614 + if (!IS_ERR(reg)) 615 615 regulator_disable(reg); 616 - } 617 616 618 617 return 0; 619 618 }