Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S943625AbdDTIVY (ORCPT ); Thu, 20 Apr 2017 04:21:24 -0400 Received: from mout.web.de ([212.227.15.14]:62088 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751216AbdDTIU6 (ORCPT ); Thu, 20 Apr 2017 04:20:58 -0400 To: linux-clk@vger.kernel.org, Michael Turquette , Stephen Boyd Cc: LKML , kernel-janitors@vger.kernel.org From: SF Markus Elfring Subject: [PATCH 0/8] clk: Fine-tuning for ten function implementations Message-ID: <94b24eaa-c5fb-80ea-441a-883989d14ef5@users.sourceforge.net> Date: Thu, 20 Apr 2017 10:20:44 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:k/0IGayrZfUgHppcHyMUtNOxr2N9O9ZFa3y/QS643CRADNANHyz uSCTiZIPMFnoHwIJHHVRcTvpakWf3x9aHwFLVpgGjHJQZypuK+OLySBQGC9eDtHLsFJ2Wmo QdmQxQLXJ2/FmAYUybQhzeIRd+F1BHgDn26ah3mcVVDYtkOUNTDxRbXlkwvBsMJlh4r79Zn mBaeF4Ht/VTqgv+aL1LwA== X-UI-Out-Filterresults: notjunk:1;V01:K0:dSjnv7oTo50=:nae0d6OqcJZiisCuUdcDzE soRb2ETvLLVgqfJIoGRxWG7YJKlJ8Mjnxs/6gCQfQ53xvFB795IoqLRCpJ7tJ+qxUMM3mwDi3 YarkdnYhW2fyVlU62DaE40i5d74RRg7Usl/95VyY9FGcKuAGR6a9dYmuufL0/qDFGY4W1Kr+B bfCADojLsni1JjdX5L4eviSFx66dIVn8IAdgMrcm3Qx8+aEt5sR0PW0CdMt2P2dNu7kiVT1pY mhyjrHuzhBr3f8YCi0afd6NEetGLfSUjdHpkrmGQuzfmg/fizXCQA8j/giO2FTK9wPi3pSjmL NRHh/gS36vvjCA65dPGp3umB5isbC8MjdRSm1keMElSir75x19L56Spu0aCMPxYC+zjMQ3Bmj QhCZzRcZCtVFcy3Lr7Hw+PxdUVdyYuG4KIr/Wuaqq2DEp+ngBUws+u4X+BJRTfgRX2jY2Nfig NN+icZe6EW5aAGrgyjxvUovEx2RPj+JXYlcOZPz+qq/sM0Q9OP6mrFviL9kaGFH5Nq1lBo0V1 YYEUCSRCYjhpapX/glPNM/r4ga2g9foy8ueco5c6MzU8ep5Am9xR2HEv4MzM3lafxRgwEIY8+ o0ZHefKqbe7Zd5nTW5Q0ujlJYk+20AbpQZ2BXSbRx9du9zO+TuG6ztNYL4TPtfN3nrsfH70a0 sk4vXS3ngFiUBAql3CyTi7ITIontNnvh40JKU4j7/1oqejaZThw44TWekzY4Y1mLCG/h+48tf btmSkw6KxnTej+1Jp/YpNRedGMGe5QcGQYA/alCouw/3PNEBO+94z0OmacDTUvS1cFbIqCkoi Vf8KaGS Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 851 Lines: 23 From: Markus Elfring Date: Thu, 20 Apr 2017 10:12:34 +0200 Some update suggestions were taken into account from static source code analysis. Markus Elfring (8): Use devm_kcalloc() in si5351_i2c_probe() Delete an error message for a failed memory allocation in si5351_i2c_probe() Adjust a null pointer check in si5351_dt_parse() Replace four seq_printf() calls by seq_putc() Combine two seq_puts() calls into one call in clk_summary_show() Improve a size determination in two functions Use seq_puts() in nomadik_src_clk_show() Delete error messages for a failed memory allocation in two functions drivers/clk/clk-nomadik.c | 12 ++++-------- drivers/clk/clk-si5351.c | 10 ++++------ drivers/clk/clk.c | 19 +++++++++---------- 3 files changed, 17 insertions(+), 24 deletions(-) -- 2.12.2