Input: mms114 - fix typo in definition
authorAndi Shyti <andi.shyti@samsung.com>
Mon, 29 Jan 2018 19:46:02 +0000 (11:46 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 31 Jan 2018 22:44:40 +0000 (14:44 -0800)
It's 'MMS114_INFORMATION', not 'MMS114_INFOMATION'

Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/mms114.c

index 1483af9e3d058231bdff75aaa52d36322a3c7236..db4f6bb502e3fecd59607795e98ec68498641359 100644 (file)
@@ -31,7 +31,7 @@
 
 /* Read only registers */
 #define MMS114_PACKET_SIZE             0x0F
-#define MMS114_INFOMATION              0x10
+#define MMS114_INFORMATION             0x10
 #define MMS114_TSP_REV                 0xF0
 
 #define MMS152_FW_REV                  0xE1
@@ -213,7 +213,7 @@ static irqreturn_t mms114_interrupt(int irq, void *dev_id)
 
        touch_size = packet_size / MMS114_PACKET_NUM;
 
-       error = __mms114_read_reg(data, MMS114_INFOMATION, packet_size,
+       error = __mms114_read_reg(data, MMS114_INFORMATION, packet_size,
                        (u8 *)touch);
        if (error < 0)
                goto out;