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

Input: xilinx_ps2 - 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
f6e63f80 16e263ac

-2
-2
drivers/input/serio/xilinx_ps2.c
··· 349 349 350 350 kfree(drvdata); 351 351 352 - platform_set_drvdata(of_dev, NULL); 353 - 354 352 return 0; 355 353 } 356 354