Skip to contentSkip to conversation

staging: nvec: fix block comment style

PATCH In review Avon-Hermit 1 participant 2 messages Mar 4 – Mar 6

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: nvec: fix block comment style

Convert a block comment describing the AP20 hardware bug workaround to the preferred kernel block comment format.

This change only adjusts the comment style and does not modify the behavior of the driver.

---
 drivers/staging/nvec/nvec.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/staging/nvec/nvec.c +3 -2
index e9af66a08448..736f11942174 100644
@@ -659,8 +659,9 @@ static irqreturn_t nvec_interrupt(int irq, void *dev)
 			nvec_tx_set(nvec);
 			to_send = nvec->tx->data[0];
 			nvec->tx->pos = 1;
-			/* delay ACK due to AP20 HW Bug
-			   do not replace by usleep_range */
+			/*
+			 * Delay ACK due to AP20 HW Bug; do not replace by usleep_range.
+			 */
 			udelay(33);
 		} else if (status == (I2C_SL_IRQ)) {
 			nvec->rx->data[1] = received;
Signature · 1 line
2.47.3
#1 lore raw

Hi,

Sorry, I didn't notice the earlier patch.
Please ignore this one.

Thanks,
Avon

Quoted 30 lines · Avon-Hermit

Convert a block comment describing the AP20 hardware bug workaround to the preferred kernel block comment format.

This change only adjusts the comment style and does not modify the behavior of the driver.

---
 drivers/staging/nvec/nvec.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/staging/nvec/nvec.c +3 -2
index e9af66a08448..736f11942174 100644
@@ -659,8 +659,9 @@ static irqreturn_t nvec_interrupt(int irq, void *dev)
 			nvec_tx_set(nvec);
 			to_send = nvec->tx->data[0];
 			nvec->tx->pos = 1;
-			/* delay ACK due to AP20 HW Bug
-			   do not replace by usleep_range */
+			/*
+			 * Delay ACK due to AP20 HW Bug; do not replace by usleep_range.
+			 */
 			udelay(33);
 		} else if (status == (I2C_SL_IRQ)) {
 			nvec->rx->data[1] = received;
Signature · 1 line
2.47.3