HID: egalax: Use kzalloc
authorHenrik Rydberg <rydberg@euromail.se>
Wed, 13 Oct 2010 13:58:17 +0000 (15:58 +0200)
committerJiri Kosina <jkosina@suse.cz>
Thu, 4 Nov 2010 15:04:44 +0000 (11:04 -0400)
commit5a39ce5b491a10f4a15bd30b26e55d3533b5f587
treef3cd63a1409ad23fcc94773f4aa3994f5dd44233
parent587d145200f26758940099fbbc301fdd43d3f391
HID: egalax: Use kzalloc

To avoid unnecessary explicit initialization, allocate zeroed memory.

Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Acked-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-egalax.c