lkml.org 
[lkml]   [2018]   [Jan]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 8/8] Input: mms114 - fix typo in definition
Date
It's 'MMS114_INFORMATION', not 'MMS114_INFOMATION'

Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
---
drivers/input/touchscreen/mms114.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/input/touchscreen/mms114.c b/drivers/input/touchscreen/mms114.c
index 3230c92de1ed..5b609531b3aa 100644
--- a/drivers/input/touchscreen/mms114.c
+++ b/drivers/input/touchscreen/mms114.c
@@ -28,7 +28,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
@@ -138,7 +138,7 @@ static irqreturn_t mms114_interrupt(int irq, void *dev_id)

touch_size = packet_size / MMS114_PACKET_NUM;

- error = i2c_smbus_read_i2c_block_data(data->client, MMS114_INFOMATION,
+ error = i2c_smbus_read_i2c_block_data(data->client, MMS114_INFORMATION,
packet_size, (u8 *)touch);
if (error < 0)
goto out;
--
2.15.1
\
 
 \ /
  Last update: 2018-01-29 12:34    [W:2.617 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site