Re: [PATCH 4/7] iio: adc: rockchip_saradc: Match alignment with open parenthesis

AngeloGioacchino Del Regno
2023-05-17T10:34:32Z

Il 17/05/23 01:00, Shreeya Patel ha scritto:
> 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 05ea823a8f16..5e1e8575bc76 100644
> --- a/drivers/iio/adc/rockchip_saradc.c
> +++ b/drivers/iio/adc/rockchip_saradc.c
> @@ -144,7 +144,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);
>
> @@ -387,8 +387,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);