summaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/cma3000_d0x.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-12-19 15:11:12 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2011-12-19 15:11:12 -0800
commit10ee08b7570dde2bac77d3f96eca2ce630a32b49 (patch)
treeae2aa24af89482d3a24343a121a53f6325c4d417 /drivers/input/misc/cma3000_d0x.c
parent390f998509bf049019df0b078c0a6606e0d57fb4 (diff)
parent8521478f67e95ada4e87970c7b41e504c724b2cf (diff)
downloadlinux-10ee08b7570dde2bac77d3f96eca2ce630a32b49.tar.bz2
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: Input: synaptics - fix touchpad not working after S2R on Vostro V13 Input: cma3000_d0x - fix signedness bug in cma3000_thread_irq() Input: wacom - add product id used by Samsung Slate 7
Diffstat (limited to 'drivers/input/misc/cma3000_d0x.c')
-rw-r--r--drivers/input/misc/cma3000_d0x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/misc/cma3000_d0x.c b/drivers/input/misc/cma3000_d0x.c
index 80793f1608eb..06517e60e50c 100644
--- a/drivers/input/misc/cma3000_d0x.c
+++ b/drivers/input/misc/cma3000_d0x.c
@@ -115,8 +115,8 @@ static void decode_mg(struct cma3000_accl_data *data, int *datax,
static irqreturn_t cma3000_thread_irq(int irq, void *dev_id)
{
struct cma3000_accl_data *data = dev_id;
- int datax, datay, dataz;
- u8 ctrl, mode, range, intr_status;
+ int datax, datay, dataz, intr_status;
+ u8 ctrl, mode, range;
intr_status = CMA3000_READ(data, CMA3000_INTSTATUS, "interrupt status");
if (intr_status < 0)