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

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>

authored by

Venkat Prashanth B U and committed by
Greg Kroah-Hartman
c34812e4 1fe899e3

+2 -2
+2 -2
drivers/iio/adc/at91_adc.c
··· 1177 1177 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); 1178 1178 1179 1179 st->reg_base = devm_ioremap_resource(&pdev->dev, res); 1180 - if (IS_ERR(st->reg_base)) { 1180 + if (IS_ERR(st->reg_base)) 1181 1181 return PTR_ERR(st->reg_base); 1182 - } 1182 + 1183 1183 1184 1184 /* 1185 1185 * Disable all IRQs before setting up the handler