Input: 88pm860x-ts - remove redundant platform_set_drvdata()
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 6 May 2013 02:37:43 +0000 (19:37 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 6 May 2013 03:14:29 +0000 (20:14 -0700)
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no
driver is bound) removes the need to set driver data field to
NULL.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/88pm860x-ts.c

index c7068942ebe8e2237f92b056dff8adeb29f896d3..e8d457266b7185833c0eaf34787a12c9219beb7f 100644 (file)
@@ -299,7 +299,6 @@ static int pm860x_touch_remove(struct platform_device *pdev)
 
        input_unregister_device(touch->idev);
        free_irq(touch->irq, touch);
-       platform_set_drvdata(pdev, NULL);
        kfree(touch);
        return 0;
 }
This page took 0.024737 seconds and 5 git commands to generate.