diff mbox series

drivers: input: mouse: Change postive to positive in the file alps.c

Message ID 20210222075439.32201-1-unixbhaskar@gmail.com (mailing list archive)
State Accepted
Commit 2896a27fdcd0c1a0cdd45f865085fe99fcf68154
Headers show
Series drivers: input: mouse: Change postive to positive in the file alps.c | expand

Commit Message

Bhaskar Chowdhury Feb. 22, 2021, 7:54 a.m. UTC
s/postive/positive/

Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
---
 drivers/input/mouse/alps.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
2.26.2

Comments

Randy Dunlap Feb. 22, 2021, 8:07 a.m. UTC | #1
On 2/21/21 11:54 PM, Bhaskar Chowdhury wrote:
> 
> s/postive/positive/
> 
> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>

Acked-by: Randy Dunlap <rdunlap@infradead.org>

> ---
>  drivers/input/mouse/alps.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/input/mouse/alps.c b/drivers/input/mouse/alps.c
> index b067bfd2699c..4a6b33bbe7ea 100644
> --- a/drivers/input/mouse/alps.c
> +++ b/drivers/input/mouse/alps.c
> @@ -986,7 +986,7 @@ static void alps_get_finger_coordinate_v7(struct input_mt_pos *mt,
>  	case V7_PACKET_ID_TWO:
>  		mt[1].x &= ~0x000F;
>  		mt[1].y |= 0x000F;
> -		/* Detect false-postive touches where x & y report max value */
> +		/* Detect false-positive touches where x & y report max value */
>  		if (mt[1].y == 0x7ff && mt[1].x == 0xff0) {
>  			mt[1].x = 0;
>  			/* y gets set to 0 at the end of this function */
> --
Pali Rohár Feb. 22, 2021, 9:09 a.m. UTC | #2
On Monday 22 February 2021 00:07:40 Randy Dunlap wrote:
> On 2/21/21 11:54 PM, Bhaskar Chowdhury wrote:
> > 
> > s/postive/positive/
> > 
> > Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
> 
> Acked-by: Randy Dunlap <rdunlap@infradead.org>

Reviewed-by: Pali Rohár <pali@kernel.org>

> > ---
> >  drivers/input/mouse/alps.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/drivers/input/mouse/alps.c b/drivers/input/mouse/alps.c
> > index b067bfd2699c..4a6b33bbe7ea 100644
> > --- a/drivers/input/mouse/alps.c
> > +++ b/drivers/input/mouse/alps.c
> > @@ -986,7 +986,7 @@ static void alps_get_finger_coordinate_v7(struct input_mt_pos *mt,
> >  	case V7_PACKET_ID_TWO:
> >  		mt[1].x &= ~0x000F;
> >  		mt[1].y |= 0x000F;
> > -		/* Detect false-postive touches where x & y report max value */
> > +		/* Detect false-positive touches where x & y report max value */
> >  		if (mt[1].y == 0x7ff && mt[1].x == 0xff0) {
> >  			mt[1].x = 0;
> >  			/* y gets set to 0 at the end of this function */
> > --
> 
> 
> -- 
> ~Randy
>
diff mbox series

Patch

diff --git a/drivers/input/mouse/alps.c b/drivers/input/mouse/alps.c
index b067bfd2699c..4a6b33bbe7ea 100644
--- a/drivers/input/mouse/alps.c
+++ b/drivers/input/mouse/alps.c
@@ -986,7 +986,7 @@  static void alps_get_finger_coordinate_v7(struct input_mt_pos *mt,
 	case V7_PACKET_ID_TWO:
 		mt[1].x &= ~0x000F;
 		mt[1].y |= 0x000F;
-		/* Detect false-postive touches where x & y report max value */
+		/* Detect false-positive touches where x & y report max value */
 		if (mt[1].y == 0x7ff && mt[1].x == 0xff0) {
 			mt[1].x = 0;
 			/* y gets set to 0 at the end of this function */