|
@@ -233,8 +233,6 @@ static int mc13783_ts_remove(struct platform_device *pdev)
|
|
{
|
|
{
|
|
struct mc13783_ts_priv *priv = platform_get_drvdata(pdev);
|
|
struct mc13783_ts_priv *priv = platform_get_drvdata(pdev);
|
|
|
|
|
|
- platform_set_drvdata(pdev, NULL);
|
|
|
|
-
|
|
|
|
destroy_workqueue(priv->workq);
|
|
destroy_workqueue(priv->workq);
|
|
input_unregister_device(priv->idev);
|
|
input_unregister_device(priv->idev);
|
|
kfree(priv);
|
|
kfree(priv);
|