From: SF Markus Elfring Date: Tue, 18 Apr 2017 09:34:52 +0000 Subject: [PATCH 0/6] clk-Hisilicon: Fine-tuning for some function implementations Message-Id: <7a649967-8ff1-8682-2f87-43871172fc28@users.sourceforge.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-clk@vger.kernel.org, Jiancheng Xue , Michael Turquette , Stephen Boyd Cc: LKML , kernel-janitors@vger.kernel.org From: Markus Elfring Date: Tue, 18 Apr 2017 11:27:32 +0200 A few update suggestions were taken into account from static source code analysis. Markus Elfring (6): Use kcalloc() in hisi_clk_init() Delete error messages for failed memory allocations in hisi_clk_init() Use devm_kmalloc_array() in hisi_clk_alloc() Use kcalloc() in hi3620_mmc_clk_init() Delete error messages for a failed memory allocation in two functions Fix a typo in one variable name drivers/clk/hisilicon/clk-hi3620.c | 16 ++++++---------- drivers/clk/hisilicon/clk.c | 18 ++++++++---------- 2 files changed, 14 insertions(+), 20 deletions(-) -- 2.12.2