Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1162626AbbKTKPS (ORCPT ); Fri, 20 Nov 2015 05:15:18 -0500 Received: from n9-44.mail.139.com ([221.176.9.44]:55102 "EHLO n9-44.mail.139.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1162389AbbKTKPN (ORCPT ); Fri, 20 Nov 2015 05:15:13 -0500 X-Greylist: delayed 543 seconds by postgrey-1.27 at vger.kernel.org; Fri, 20 Nov 2015 05:15:12 EST X-Richmail-Antispam: sCL2rVi0borhSzeOjpYxWEmrxqxSIjpgsIL2jVqxeZIR0RM= X-RM-SPAM-FLAG: 00000000 X-RM-TRANSID: 2f14564ef08ee89-f589a From: Xiubo Li To: broonie@kernel.org Cc: linux-kernel@vger.kernel.org, lixiubo Subject: [PATCH 0/2] Regmap: let the code more readable Date: Fri, 20 Nov 2015 18:06:28 +0800 Message-Id: <1448013990-9762-1-git-send-email-lixiubo@cmss.chinamobile.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 719 Lines: 23 From: lixiubo 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/