diff mbox series

iio: aligned '*' each line

Message ID 20220621064321.25635-1-jiangjian@cdjrlc.com (mailing list archive)
State Changes Requested
Headers show
Series iio: aligned '*' each line | expand

Commit Message

Jiang Jian June 21, 2022, 6:43 a.m. UTC
Consider '*' alignment in comments

Signed-off-by: Jiang Jian <jiangjian@cdjrlc.com>
---
 drivers/iio/dac/ad5380.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Andy Shevchenko June 21, 2022, 8:56 a.m. UTC | #1
On Tue, Jun 21, 2022 at 8:57 AM Jiang Jian <jiangjian@cdjrlc.com> wrote:
>
> Consider '*' alignment in comments

Subject should start with "iio: dac: ad5380: ..."

The commit message should follow English grammar (missed period in
your case) and explain a little bit more, e.g. "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 {
diff mbox series

Patch

diff --git a/drivers/iio/dac/ad5380.c b/drivers/iio/dac/ad5380.c
index a44c83242fb1..f8291cb013ce 100644
--- a/drivers/iio/dac/ad5380.c
+++ b/drivers/iio/dac/ad5380.c
@@ -36,7 +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;