staging: comedi: Fix spelling mistake
PATCH 1/1 staging: comedi: Fix spelling mistake
changes interupts --> interrupts to fix warning reported by checkpatch tool
Signed-off-by Hariprasad Kelam <[email protected]>
--- drivers/staging/comedi/drivers/dt2811.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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 */
Signature · 1 line
2.7.4
Quoted 14 lines · Hariprasad Kelam
changes interupts --> interrupts to fix warning reported by checkpatch tool
Signed-off-by Hariprasad Kelam <[email protected]>--- drivers/staging/comedi/drivers/dt2811.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/staging/comedi/drivers/dt2811.c +0
-0
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. )=-
Quoted 4 lines · Hariprasad Kelam
changes interupts --> interrupts to fix warning reported by checkpatch tool
Signed-off-by Hariprasad Kelam <[email protected]>
Reviewed-by Mukesh Ojha <[email protected]>
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@@ -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 */