summaryrefslogtreecommitdiff
path: root/drivers/iio
diff options
context:
space:
mode:
authorShreeya Patel <shreeya.patel@collabora.com>2023-06-03 21:53:37 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2023-06-04 13:23:40 +0300
commit10bec68f51ee1564fc2b6dcc25ccec22a01b22f9 (patch)
treee33ed99b0ded2f956753383cfda5f421013a3661 /drivers/iio
parent47902344c8c35c1c08147df08879ef75a3ff86c1 (diff)
downloadlinux-10bec68f51ee1564fc2b6dcc25ccec22a01b22f9.tar.xz
iio: adc: rockchip_saradc: Match alignment with open parenthesis
Match alignment with open parenthesis for improving the code readability. Signed-off-by: Shreeya Patel <shreeya.patel@collabora.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://lore.kernel.org/r/20230603185340.13838-6-shreeya.patel@collabora.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio')
-rw-r--r--drivers/iio/adc/rockchip_saradc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/iio/adc/rockchip_saradc.c b/drivers/iio/adc/rockchip_saradc.c
index 65ca71c31f25..7883394fdbca 100644
--- a/drivers/iio/adc/rockchip_saradc.c
+++ b/drivers/iio/adc/rockchip_saradc.c
@@ -151,7 +151,7 @@ static void rockchip_saradc_power_down(struct rockchip_saradc *info)
}
static int rockchip_saradc_conversion(struct rockchip_saradc *info,
- struct iio_chan_spec const *chan)
+ struct iio_chan_spec const *chan)
{
reinit_completion(&info->completion);
@@ -394,8 +394,7 @@ out:
}
static int rockchip_saradc_volt_notify(struct notifier_block *nb,
- unsigned long event,
- void *data)
+ unsigned long event, void *data)
{
struct rockchip_saradc *info =
container_of(nb, struct rockchip_saradc, nb);