Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Input: intel-mid-touch - remove redundant platform_set_drvdata()

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>

authored by

Sachin Kamat and committed by
Dmitry Torokhov
fb1b1957 fdbe0c53

-2
-2
drivers/input/touchscreen/intel-mid-touch.c
··· 651 651 input_unregister_device(tsdev->input); 652 652 kfree(tsdev); 653 653 654 - platform_set_drvdata(pdev, NULL); 655 - 656 654 return 0; 657 655 } 658 656