Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1273935

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

From Xiubo Li <lixiubo@cmss.chinamobile.com>
Newsgroups linux.kernel
Subject [PATCH 0/2] Regmap: let the code more readable
Date 2015-11-20 11:20 +0100
Message-ID <qwQXo-5SQ-17@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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


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

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] Regmap: let the code more readable Xiubo Li <lixiubo@cmss.chinamobile.com> - 2015-11-20 11:20 +0100
  [PATCH 2/2] Regmap: replace kmalloc with kmalloc_array Xiubo Li <lixiubo@cmss.chinamobile.com> - 2015-11-20 11:20 +0100
    Applied "regmap: replace kmalloc with kmalloc_array" to the regmap tree Mark Brown <broonie@kernel.org> - 2015-11-20 19:30 +0100
  [PATCH 1/2] Regmap: replace kzalloc with kcalloc Xiubo Li <lixiubo@cmss.chinamobile.com> - 2015-11-20 11:20 +0100
    Applied "regmap: replace kzalloc with kcalloc" to the regmap tree Mark Brown <broonie@kernel.org> - 2015-11-20 19:30 +0100

csiph-web