Skip to contentSkip to conversation

staging: comedi: Fix spelling mistake

PATCH Superseded Hariprasad Kelam 3 participants 3 messages Apr 4, 2019 Staging

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: comedi: Fix spelling mistake

changes interupts --> interrupts to fix warning reported by checkpatch tool

---
 drivers/staging/comedi/drivers/dt2811.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/comedi/drivers/dt2811.c +1 -1
index 05207a5..8a1f9ef 100644
@@ -52,7 +52,7 @@
 #define DT2811_ADCSR_ADBUSY		BIT(5)	/* r      1=A/D busy */
 #define DT2811_ADCSR_CLRERROR		BIT(4)
 #define DT2811_ADCSR_DMAENB		BIT(3)	/* r/w    1=dma ena */
-#define DT2811_ADCSR_INTENB		BIT(2)	/* r/w    1=interupts ena */
+#define DT2811_ADCSR_INTENB		BIT(2)	/* r/w    1=interrupts ena */
 #define DT2811_ADCSR_ADMODE(x)		(((x) & 0x3) << 0)
 
 #define DT2811_ADGCR_REG		0x01	/* r/w  A/D Gain/Channel */
Signature · 1 line
2.7.4
#1 lore raw
Quoted 14 lines · Hariprasad Kelam

changes interupts --> interrupts to fix warning reported by checkpatch tool

---
  drivers/staging/comedi/drivers/dt2811.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/comedi/drivers/dt2811.c +0 -0
index 05207a5..8a1f9ef 100644

drivers/staging/comedi/drivers/dt2811.c line 58

Quoted 8 lines
drivers/staging/comedi/drivers/dt2811.c +1 -1
@@ -52,7 +52,7 @@
  #define DT2811_ADCSR_ADBUSY		BIT(5)	/* r      1=A/D busy */
  #define DT2811_ADCSR_CLRERROR		BIT(4)
  #define DT2811_ADCSR_DMAENB		BIT(3)	/* r/w    1=dma ena */
-#define DT2811_ADCSR_INTENB		BIT(2)	/* r/w    1=interupts ena */
+#define DT2811_ADCSR_INTENB		BIT(2)	/* r/w    1=interrupts ena */
  #define DT2811_ADCSR_ADMODE(x)		(((x) & 0x3) << 0)
 
  #define DT2811_ADGCR_REG		0x01	/* r/w  A/D Gain/Channel */

Hi Hariprasad, could you mention dt2811 in the patch subject line like this:

staging: comedi: dt2811: Fix spelling mistake

It helps to narrow down the scope of the patch.

Apart from that, the patch looks fine. Thanks.

Signature · 4 lines
-=( Ian Abbott <[email protected]> || Web: www.mev.co.uk )=-
-=( MEV Ltd. is a company registered in England & Wales. )=-
-=( Registered number: 02862268.  Registered address:    )=-
-=( 15 West Park Road, Bramhall, STOCKPORT, SK7 3JZ, UK. )=-
Reviewed-by on v1 1/1
#2 lore raw
In reply to Hariprasad Kelam
Quoted 4 lines · Hariprasad Kelam

changes interupts --> interrupts to fix warning reported by checkpatch tool

Cheers,
-Mukesh

Quoted 17 lines
---
  drivers/staging/comedi/drivers/dt2811.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/comedi/drivers/dt2811.c +1 -1
index 05207a5..8a1f9ef 100644
@@ -52,7 +52,7 @@
  #define DT2811_ADCSR_ADBUSY		BIT(5)	/* r      1=A/D busy */
  #define DT2811_ADCSR_CLRERROR		BIT(4)
  #define DT2811_ADCSR_DMAENB		BIT(3)	/* r/w    1=dma ena */
-#define DT2811_ADCSR_INTENB		BIT(2)	/* r/w    1=interupts ena */
+#define DT2811_ADCSR_INTENB		BIT(2)	/* r/w    1=interrupts ena */
  #define DT2811_ADCSR_ADMODE(x)		(((x) & 0x3) << 0)
 
  #define DT2811_ADGCR_REG		0x01	/* r/w  A/D Gain/Channel */