[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1448013990-9762-1-git-send-email-lixiubo@cmss.chinamobile.com>
Date: Fri, 20 Nov 2015 18:06:28 +0800
From: Xiubo Li <lixiubo@...s.chinamobile.com>
To: broonie@...nel.org
Cc: linux-kernel@...r.kernel.org,
lixiubo <lixiubo@...s.chinamobile.com>
Subject: [PATCH 0/2] Regmap: let the code more readable
From: lixiubo <lixiubo@...s.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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists