Remove braces from single line if blocks to clear checkpatch warnings.
WARNING: braces {} are not necessary for single statement blocks
Signed-off-by: Alexander Vorwerk <alec@vc-celle.de>
Link: https://lore.kernel.org/r/20210820224914.1260-1-alec@vc-celle.de
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
                if (ret < 0)
                        return ret;
 
-               if (chip->capdac_set != chan->channel) {
-
+               if (chip->capdac_set != chan->channel)
                        chip->capdac_set = chan->channel;
-               }
                break;
        case IIO_VOLTAGE:
        case IIO_TEMP: