Skip to contentSkip to conversation

iio: aligned '*' each line

PATCH In review Jiang Jian 2 participants 2 messages Jun 21, 2022

Subsystems (2)
lore
Share & tools
lore

Jiang Jian

author
#0 lore raw

PATCH 1/1 iio: aligned '*' each line

Consider '*' alignment in comments

---
 drivers/iio/dac/ad5380.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/dac/ad5380.c +1 -1
index a44c83242fb1..f8291cb013ce 100644
@@ -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;
Signature · 1 line
2.17.1
#1 lore raw
Quoted 2 lines · Jiang Jian

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".

...

Quoted 6 lines
  * @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.

Quoted 1 line

struct ad5380_chip_info {

Signature · 2 lines
With Best Regards,
Andy Shevchenko