lkml.org 
[lkml]   [2015]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] Regmap: let the code more readable
Date
From: lixiubo <lixiubo@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




\
 
 \ /
  Last update: 2015-11-20 11:41    [W:0.268 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site