Re: [PATCH 12/12] i2c: qup: reorganization of driver code to remove polling for qup v2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



<snip>

static void qup_i2c_set_blk_event(struct qup_i2c_dev *qup, bool is_rx)
  {
  	qup->cur_blk_events = 0;
@@ -1442,13 +1155,452 @@ static int qup_i2c_xfer(struct i2c_adapter *adap,
  	return ret;
  }
  +/*
+ * Function to configure registers related with reconfiguration during run
+ * and will be done before each I2C sub transfer.
+ */
Consider changing comment style to remove the word "Function" and
state the operation in simple present tense.

"Function to configure ..." would be "Configure ..."

Same comment for all comments of this style below.



 Thanks Austin.

 I have done the changes for comments styles in v2

 https://lkml.org/lkml/2018/3/12/421

 Regards,
 Abhishek

--
To unsubscribe from this list: send the line "unsubscribe linux-soc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux