Skip to content

Commit 9b4e2ec

Browse files
basutkar-prashanthehristev
authored andcommitted
Drivers: iio:adc: fix brace coding style issue in at91_adc.c
This is a patch to the at91_adc.c file that fixes up a brace warning found by the checkpatch.pl tool Signed-off-by: Venkat Prashanth B U <venkat.prashanth2498@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 91aa70b commit 9b4e2ec

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/iio/adc/at91_adc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1177,9 +1177,9 @@ static int at91_adc_probe(struct platform_device *pdev)
11771177
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
11781178

11791179
st->reg_base = devm_ioremap_resource(&pdev->dev, res);
1180-
if (IS_ERR(st->reg_base)) {
1180+
if (IS_ERR(st->reg_base))
11811181
return PTR_ERR(st->reg_base);
1182-
}
1182+
11831183

11841184
/*
11851185
* Disable all IRQs before setting up the handler

0 commit comments

Comments
 (0)