[PATCH 0/2] Regmap: let the code more readable

From: Xiubo Li
Date: Fri Nov 20 2015 - 05:16:10 EST


From: lixiubo <lixiubo@xxxxxxxxxxxxxxxxxxxx>

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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/