Input: tsc2007 - fix a redundant assignment for pdata
authorAxel Lin <axel.lin@gmail.com>
Fri, 3 Sep 2010 02:52:41 +0000 (19:52 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 3 Sep 2010 03:14:00 +0000 (20:14 -0700)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/tsc2007.c

index be23780..80467f2 100644 (file)
@@ -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;