diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-03-26 00:23:19 (GMT) |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-04-03 16:57:11 (GMT) |
commit | 271002ca7956e5ef140c02af1bd8e93063924ec6 (patch) | |
tree | 23672b4bdbdcb3d651f6a7ec9e0c652287fc6d09 /drivers/input/touchscreen/Makefile | |
parent | 131c713fd96e251fcb18f4d2d05f263aa41bb11f (diff) | |
download | linux-271002ca7956e5ef140c02af1bd8e93063924ec6.tar.xz |
Input: xilinx_ps2 - allocate serio port separately
'struct serio' is a refcounted data structure with lifetime rules different
from 'struct xps2data'. It is quite likely that serio_unregister_port() will
try to free memory allocated by the port and that is why it should be
allocated separately.
Also switch to using platform_get/set_drvdata instead of dev_get/set_drvdata
because we are dealing with platform device.
Reported-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/touchscreen/Makefile')
0 files changed, 0 insertions, 0 deletions