From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tali Perry Subject: [PATCH v1 0/1] clk: npcm750: fix base address and of_clk_get_by_name Date: Tue, 1 May 2018 10:23:26 +0300 Message-ID: <1525159407-31708-1-git-send-email-tali.perry1@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: sboyd@kernel.org, brendanhiggins@google.com, robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, weiyongjunl@huawei.com, avifishman70@gmail.com, tmaimon77@gmail.com, raltherr@google.com Cc: devicetree@vger.kernel.org, openbmc@lists.ozlabs.org, linux-kernel@vger.kernel.org, Tali Perry , Wei Yongjun , linux-arm-kernel@lists.infradead.org List-Id: devicetree@vger.kernel.org Nuvoton NPCM7XX Clock Controller fix base address and of_clk_get_by_name error handling. Also update error messages to be more informative. In case clk_base allocation is erronoeous the return value is null. Also fix handling of of_clk_get_by_name returns an error. Print a better error message pointing to the dt-binding documention. Signed-off-by: Tali Perry Reviewed-by: Rob Herring Signed-off-by: Wei Yongjun Tali Perry (2): --- Tali Perry (1): clk: npcm750: fix base address and of_clk_get_by_name error handling. Also update error messages to be more informative drivers/clk/clk-npcm7xx.c | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) -- 2.14.1