Input: wistron_btns - switch to using kmemdup()
authorJulia Lawall <julia@diku.dk>
Wed, 19 May 2010 17:11:14 +0000 (10:11 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 19 May 2010 17:14:38 +0000 (10:14 -0700)
commitf8300ab8c3e0bea42c82bbdcdff7b791b795d58f
tree259f14af19298ab2f6dcd5ff7dd3b645259fe975
parent641d446f89314d19fe17fcb9f19659a09fabe418
Input: wistron_btns - 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/misc/wistron_btns.c