summaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2010-09-02 19:52:41 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2010-09-02 20:14:00 -0700
commitb496acb7fe567546d414fb9807524ab92828ca25 (patch)
treeefa2f6d506c8a06b263f987d38cbe09789eae7c3 /drivers/input/touchscreen
parent8a26f5d18d45d49ff38ad2ddfed9c783dd2a19ab (diff)
downloadop-kernel-dev-b496acb7fe567546d414fb9807524ab92828ca25.zip
op-kernel-dev-b496acb7fe567546d414fb9807524ab92828ca25.tar.gz
Input: tsc2007 - fix a redundant assignment for pdata
Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/touchscreen')
-rw-r--r--drivers/input/touchscreen/tsc2007.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/tsc2007.c b/drivers/input/touchscreen/tsc2007.c
index be23780..80467f2 100644
--- a/drivers/input/touchscreen/tsc2007.c
+++ b/drivers/input/touchscreen/tsc2007.c
@@ -265,7 +265,7 @@ static int __devinit tsc2007_probe(struct i2c_client *client,
const struct i2c_device_id *id)
{
struct tsc2007 *ts;
- struct tsc2007_platform_data *pdata = pdata = client->dev.platform_data;
+ struct tsc2007_platform_data *pdata = client->dev.platform_data;
struct input_dev *input_dev;
int err;
OpenPOWER on IntegriCloud