Move kernel config and patches to kernel 6.6. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
39 lines
1.4 KiB
Diff
39 lines
1.4 KiB
Diff
From 10bec68f51ee1564fc2b6dcc25ccec22a01b22f9 Mon Sep 17 00:00:00 2001
|
|
From: Shreeya Patel <shreeya.patel@collabora.com>
|
|
Date: Sun, 4 Jun 2023 00:23:37 +0530
|
|
Subject: [PATCH] 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>
|
|
---
|
|
drivers/iio/adc/rockchip_saradc.c | 5 ++---
|
|
1 file changed, 2 insertions(+), 3 deletions(-)
|
|
|
|
--- a/drivers/iio/adc/rockchip_saradc.c
|
|
+++ b/drivers/iio/adc/rockchip_saradc.c
|
|
@@ -148,7 +148,7 @@ static void rockchip_saradc_power_down(s
|
|
}
|
|
|
|
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);
|
|
|
|
@@ -391,8 +391,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);
|