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

Input: matrix_keypad - 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>
Acked-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Sachin Kamat and committed by
Dmitry Torokhov
776f2acc bb41eca7

-2
-2
drivers/input/keyboard/matrix_keypad.c
··· 549 549 input_unregister_device(keypad->input_dev); 550 550 kfree(keypad); 551 551 552 - platform_set_drvdata(pdev, NULL); 553 - 554 552 return 0; 555 553 } 556 554