Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750905AbdI0HXq (ORCPT ); Wed, 27 Sep 2017 03:23:46 -0400 Received: from mout.web.de ([212.227.15.14]:55931 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750971AbdI0HXo (ORCPT ); Wed, 27 Sep 2017 03:23:44 -0400 To: linux-clk@vger.kernel.org, Chao Xie , Michael Turquette , Stephen Boyd Cc: LKML , kernel-janitors@vger.kernel.org From: SF Markus Elfring Subject: [PATCH 0/3] MMP clock: Adjustments for seven function implementations Message-ID: <051d7ba6-e3cc-8354-8315-93fe039dd2ce@users.sourceforge.net> Date: Wed, 27 Sep 2017 09:23:28 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.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:MRQhUBsg5CUSTBvyR0Xj4xSIW2z5zFUEl5vQfZ5eq0E0VnM32Wo Xg1To1mXF3e8m+c/xCvdFE8l8wUGqX2I+DwOFdJB4tXEZr2CkJvZEQw1lTU6Kl3Gf//wggh xiaelXQiuAy99nBajDxZL0agrVqXL/Y/dU5sfpmgb27un4ftAQiEB3YHCIb/TrmRLxTpiDP cdwJ3JOX8eWg9mROAMiYQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:AIaAvS6Tp28=:BAGZmgHqg/F/0fNU9WSPKS RsYOzNmX4gpP7DbgGXijc+cMAQh3ZJynBFaTdj4virXsR86NzqC8HfmlrwSJiM0emXGb3jG2F i3sBFPzXSJJklvkJHG48uk6SIkbY9GaWzGQASSwAlZN+UYgS7DE2x7hbmBq1DJwQA512QG7mA Viyoh7kiJFQ1la1LREeWppstKN84+YjCdBE3Zu/RAlHAIFRbNZWMg54YZpM7oFV5aXom3ZVUy yiM7BLnqK5+g2f7HBFIGceFmiI6c9Hwlv8FGyVVqRhK3Or2vWjtSRUZKqV+/r1rt0YhMZu0Ko hEEI6bhKxLCijyVn6LuBHpquUth2K1tg1zhir3Z5s2/RPkz8TQuoe6wquLJQEncwbjS0sAGhB slFXa0HQvaZVDSgWeKLCBpMUeqDl58A5txTkuM2uNIB/xof30gbQmTjO+n/s7ixLmHxH1P56i wE6/45HqM19tr+J/k2nSJY5HiiiPg88dfRjIJmqsytLVf4BljQtHYgnihLTn9ev3Gvy6X3f2j H7tUJ1dAlQpEbvAKuFk0LKdhoaf1MwFjv6TWKnEeKN5WVRn1etVdZIrxGaDmVx1DVfrNB+43z vbQG0p9xpHqv4haeIAlbvU1j62JKCFpR0P5Nh355diJ5mQ5i6s6Hdv7oDibuvUjkwi5DUwlAz PAHRKuBTs4UKy8//iLCzUeTMP1/09OQvGBZZRnePCC37D+eRq0NzeOmkhMY02xACSmD7TqX/L kk6kUjFrmJoDhE2+zOKQHTmXjwkJs3i0N+RGxdsH9fJDMjPBVJewC/cPuiGwVClv8ac+A7rCP jRHIeZyGdVcQTdlxzERJc+Qtm84Z+8LzwJEqnhU/22MdtToW+Q= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 704 Lines: 21 From: Markus Elfring Date: Wed, 27 Sep 2017 09:21:23 +0200 Three update suggestions were taken into account from static source code analysis. Markus Elfring (3): Delete an error message for a failed memory allocation in three functions Use common error handling code in mmp_clk_register_mix() Adjust 12 checks for null pointers drivers/clk/mmp/clk-frac.c | 4 +--- drivers/clk/mmp/clk-gate.c | 4 +--- drivers/clk/mmp/clk-mix.c | 27 +++++++++++---------------- drivers/clk/mmp/clk-mmp2.c | 6 +++--- drivers/clk/mmp/clk-pxa168.c | 6 +++--- drivers/clk/mmp/clk-pxa910.c | 8 ++++---- 6 files changed, 23 insertions(+), 32 deletions(-) -- 2.14.1