Input: usbtouchscreen - switch to using kmemdup()
commit641d446f89314d19fe17fcb9f19659a09fabe418
authorJulia Lawall <julia@diku.dk>
Wed, 19 May 2010 17:11:14 +0000 (19 10:11 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 19 May 2010 17:14:31 +0000 (19 10:14 -0700)
tree8b1209478ba054dc939c7cf690d899c0c7ecbcc6
parent685afae02557a178185a4be36f58332976e79f63
Input: usbtouchscreen - switch to using kmemdup()

Use kmemdup when some other buffer is immediately copied into the
allocated region.

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/usbtouchscreen.c