From: lixiubo <lixi...@cmss.chinamobile.com>

Replace kzalloc/kmalloc with kcalloc/kmalloc_array.

lixiubo (2):
  Regmap: replace kzalloc with kcalloc
  Regmap: replace kmalloc with kmalloc_array

 drivers/base/regmap/regcache-flat.c   |  2 +-
 drivers/base/regmap/regcache-lzo.c    |  6 +++---
 drivers/base/regmap/regcache-rbtree.c |  9 +++++----
 drivers/base/regmap/regmap-irq.c      | 13 +++++++------
 4 files changed, 16 insertions(+), 14 deletions(-)

-- 
1.8.3.1


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to