Received: by 10.192.165.148 with SMTP id m20csp4669146imm; Tue, 1 May 2018 01:16:04 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrYlh4kNWvyR9VkZQQTek3UCMVQAiCb1Z8gTJGDydxkEhyzgARj7Ax2h2s7mBI/Cl59D1Jj X-Received: by 2002:a17:902:6181:: with SMTP id u1-v6mr15151499plj.272.1525162564859; Tue, 01 May 2018 01:16:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525162564; cv=none; d=google.com; s=arc-20160816; b=niucN+XPDWem7CYQeqYNQ+kNT4X8E3riJaphHRNfhjS16myKikX4Te6niSFe7t4xSW WTVvmrvgWX5V7dm+lbB8bhbYM5AfASU7QN65At3C2AuLxL71/uLdv5KeRDIblin/jaZw a7QKTFR0TXp/pkKZmgSpP5bPF5SXn8uSbPcTE8uGxQctPphsQHdY5QxOfqQOmDoc4xqz e4M2vlYD4Xb3WoLVvpti39QGr6TIpDmnRh8ykU/iDhVhDddb1b87nSYP9kq4NeSUeTv4 TdMYMaZDrdql6tY6+G193Oe3DCztzP7+cFxpdxuhKU5MJBWzSJ4aRjrfSIPQXAoss+1F MDHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=jGjF2Y1FmsON8OHEBo0wxkEtUIQuOsUHSz/eBNemkFI=; b=lLKvUsaqA0d0FjILxOSu/pldNYMp1IIc2F3XEKka8hg+/hcJ8G6LzMIvlZE01/z6U9 vOfTOSMTpFepd3eOfbSJJNPIhTdAfUmG8ycJ6YMUAbrnw3iHyGytiXtuZm3ASn2Icv1u FRClrVz5V8eHFxZdhGw5tXPVkj7s1Ze2EzYcfjzmAQW+yR1KMt3vJsisosRPQ4YiiyUA jCyznv/+29m/5Or6bcRimjFxr35l9lnmIWgp3TzHUAqzi+nCdY9n4Y2OmWW23g+8npSc khTE8jJr7Lc3E5jWhyqbOPCXf4VELOBprv6nObY/P/yNfKST5zlJBnuq3bhl+kZY5je7 +1eg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n81si9095350pfj.152.2018.05.01.01.15.50; Tue, 01 May 2018 01:16:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752824AbeEAIOW (ORCPT + 99 others); Tue, 1 May 2018 04:14:22 -0400 Received: from 212.199.177.27.static.012.net.il ([212.199.177.27]:60189 "EHLO herzl.nuvoton.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751081AbeEAIOT (ORCPT ); Tue, 1 May 2018 04:14:19 -0400 X-Greylist: delayed 2903 seconds by postgrey-1.27 at vger.kernel.org; Tue, 01 May 2018 04:14:18 EDT Received: from talu34.nuvoton.co.il (ntil-fw [212.199.177.25]) by herzl.nuvoton.co.il (8.13.8/8.13.8) with ESMTP id w417ONHN001069; Tue, 1 May 2018 10:24:23 +0300 Received: by talu34.nuvoton.co.il (Postfix, from userid 20088) id 5D4EE5AAB0; Tue, 1 May 2018 10:24:23 +0300 (IDT) From: Tali Perry 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, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, openbmc@lists.ozlabs.org, Tali Perry , Wei Yongjun 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> X-Mailer: git-send-email 1.8.3.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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