[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220621092319.69598-1-jiangjian@cdjrlc.com>
Date: Tue, 21 Jun 2022 17:23:19 +0800
From: Jiang Jian <jiangjian@...rlc.com>
To: jic23@...nel.org
Cc: lars@...afoo.de, Michael.Hennerich@...log.com,
linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org,
Jiang Jian <jiangjian@...rlc.com>
Subject: [PATCH] iio: dac: ad5380: aligned '*' each line and drop unneeded blank line
Consider '*' alignment in the comments of struct ad5380_chip_info declaration.
...
> * @channel_template: channel specification template
> * @num_channels: number of channels
> * @int_vref: internal vref in uV
> -*/
> + */
>
While at it, drop the unneeded blank line here.
> struct ad5380_chip_info {
...
}
Signed-off-by: Jiang Jian <jiangjian@...rlc.com>
---
drivers/iio/dac/ad5380.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/iio/dac/ad5380.c b/drivers/iio/dac/ad5380.c
index a44c83242fb1..81775152aac6 100644
--- a/drivers/iio/dac/ad5380.c
+++ b/drivers/iio/dac/ad5380.c
@@ -36,8 +36,7 @@
* @channel_template: channel specification template
* @num_channels: number of channels
* @int_vref: internal vref in uV
-*/
-
+ */
struct ad5380_chip_info {
struct iio_chan_spec channel_template;
unsigned int num_channels;
@@ -53,7 +52,6 @@ struct ad5380_chip_info {
* @pwr_down: whether the chip is currently in power down mode
* @lock: lock to protect the data buffer during regmap ops
*/
-
struct ad5380_state {
struct regmap *regmap;
const struct ad5380_chip_info *chip_info;
--
2.17.1
Powered by blists - more mailing lists