HID: use GFP_KERNEL in hid_alloc_buffers
authorJiri Slaby <jirislaby@gmail.com>
Mon, 24 Nov 2008 15:20:06 +0000 (16:20 +0100)
committerJiri Kosina <jkosina@suse.cz>
Sun, 4 Jan 2009 00:00:52 +0000 (01:00 +0100)
commit898089d08f983ef0fdb176267620543a7929826a
treec654a7c5c2ea35d8cf01bb0f849c51ed198d0249
parent581a2739607b5fdfb6b22d6083fc7f83c441077f
HID: use GFP_KERNEL in hid_alloc_buffers

We might sleep, so no problem to use GFP_KERNEL.

While at it bring the function to coding style.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/usbhid/hid-core.c