HID: intel_ish-hid: Use kzalloc instead of kmalloc/memset
authorWei Yongjun <weiyj.lk@gmail.com>
Sun, 21 Aug 2016 15:30:50 +0000 (15:30 +0000)
committerJiri Kosina <jkosina@suse.cz>
Mon, 29 Aug 2016 07:36:20 +0000 (09:36 +0200)
commit6cf5c1c7162878a99c2fd335d52a7d10079af6b7
tree8133ecbb4fe4d81e5cee2d16bdc36c50caa8221d
parente8c61135956ce35fcd7661f52ed3a7e21eb86bfb
HID: intel_ish-hid: Use kzalloc instead of kmalloc/memset

Use kzalloc rather than kmalloc followed by memset with 0.

Generated by: scripts/coccinelle/api/alloc/kzalloc-simple.cocci

Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/intel-ish-hid/ishtp/client-buffers.c