summaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-09-12 10:05:31 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-09-12 11:59:00 +0200
commit0efa92fdca99e8dd25c17504a025c5bd535f5eb4 (patch)
treeff3552d52085bbbe3f015eeeb51f4483947293eb /drivers/input
parent767cd01face1b1bb244ad853070170a7d5bb2124 (diff)
downloadbarebox-0efa92fdca99e8dd25c17504a025c5bd535f5eb4.tar.gz
barebox-0efa92fdca99e8dd25c17504a025c5bd535f5eb4.tar.xz
input: imx_keypad: remove unused variable
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/imx_keypad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/imx_keypad.c b/drivers/input/imx_keypad.c
index afe93c3127..f220d85c7e 100644
--- a/drivers/input/imx_keypad.c
+++ b/drivers/input/imx_keypad.c
@@ -390,7 +390,7 @@ static int __init imx_keypad_probe(struct device_d *dev)
struct imx_keypad *keypad;
const struct matrix_keymap_data *keymap_data = dev->platform_data;
struct console_device *cdev;
- int error, i;
+ int i;
if (!keymap_data) {
pr_err("no keymap defined\n");