42 lines
1.4 KiB
Diff
42 lines
1.4 KiB
Diff
From c485792deea6d3d237fa80c8c475e2f8dec4abc4 Mon Sep 17 00:00:00 2001
|
|
From: Shreeya Patel <shreeya.patel@collabora.com>
|
|
Date: Thu, 4 May 2023 18:06:00 +0530
|
|
Subject: [PATCH 440/469] 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: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
|
|
---
|
|
drivers/iio/adc/rockchip_saradc.c | 5 ++---
|
|
1 file 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 @@ static irqreturn_t rockchip_saradc_trigger_handler(int irq, void *p)
|
|
}
|
|
|
|
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);
|
|
--
|
|
2.34.1
|
|
|