[PATCH v1] drivers: Use kzalloc instead of 'kmalloc+memset', where possible

2011-05-27 Thread Rakib Mullick
A previous patch was sent to address this issue at, https://lkml.org/lkml/2011/5/23/305. Joe Perches suggest that, its best to use kcalloc for array allocation instead of kzalloc. This version addresses this issue. Changes since V0: Use kcalloc instead of kzalloc for array allocation. Sig

[PATCH v1] drivers: Use kzalloc instead of 'kmalloc+memset', where possible

2011-05-26 Thread Rakib Mullick
A previous patch was sent to address this issue at, https://lkml.org/lkml/2011/5/23/305. Joe Perches suggest that, its best to use kcalloc for array allocation instead of kzalloc. This version addresses this issue. Changes since V0: Use kcalloc instead of kzalloc for array allocation. Sig