From patchwork Wed Jun 7 07:06:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 9770727 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id AC86B60350 for ; Wed, 7 Jun 2017 07:21:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 96A85205AB for ; Wed, 7 Jun 2017 07:21:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8A56D28533; Wed, 7 Jun 2017 07:21:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5FB8F2848D for ; Wed, 7 Jun 2017 07:21:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=KHvMaayK8AH59ry3QtAqlYohe2B8gPb39p0y4nc1+Eo=; b=hanEV50TvMyUfxDQYbM+u66CsG ChjRE740I/y1rAG3yaFSpEl5I6xdgQd8mDChpj3SCPEYF5nV0gg3zP0AAarF9u4ImaWIt7L3d0Dhh l+F5znzAnL5N9fYAAoXoNRKlH1XP7T/A3QqOMq1MKKgC0yBArWMxbp8BLx6twv7unVIl/+tW+5lVB xZ3pdFlmHUu2LimH1obpOjf2mY2sGPsQOZhN0JGXEJWFhAJocz/3UF8CX2/moYlTePgUW+tXP+RTe qvgFQSKTSbQ61VcZnViHdCdhcNqicaDePnKRsJZ75IJ9WmsWfKJztxZmqHWWedBejqIpyF1gsop2H AJho4yvQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dIVHZ-0001gE-Ma; Wed, 07 Jun 2017 07:21:33 +0000 Received: from mail-pg0-x229.google.com ([2607:f8b0:400e:c05::229]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dIV4C-0008Og-16 for linux-arm-kernel@lists.infradead.org; Wed, 07 Jun 2017 07:07:46 +0000 Received: by mail-pg0-x229.google.com with SMTP id a70so2267024pge.3 for ; Wed, 07 Jun 2017 00:07:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=eadAuPLWz+ubm+xMXhvzuW40A+fVjIXHTbVw2jNpq1A=; b=fSxpeIXirOFa2sgcBDBH2c675hGMgR1kG1RPrGMDYfDfTce/oXMsEramLInd1GWpJt eqbKJv7NcBCEeIQ2ruPHoucJ7U+/cgfkYDoUht8Gn9BdJNRBQi+us57v4DFzlB7Cfwi3 Thikov9YNnadKhxkWO3H9hdem891VoGoDxO5I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=eadAuPLWz+ubm+xMXhvzuW40A+fVjIXHTbVw2jNpq1A=; b=abr54l2JxHYQg7su+/bWj3kYzoKs7zXP9xvmwFgxo1r1QcJNdDmOJN4DZQwiEnXLZb zyVunO8o+X3lS1iEMUEciX+yHs2kULODPRn8DzSnEpjrJxXDeJIHYKdSOSo7yPXPrdKI X0J3YdclWeFhqChYQV5A3X3sMftlN4PCRhNMGPlJn9+TRO0OCHb8QYW2dRd45ZIiicU8 3WWB03cXmCaNwFxcwgtXVPxagSPIp134tVphkMvSlQQFXRYwbcugUceBUgVNXj5cGSLA CEsgquM4Jj+CKLk/b00QY4dJEhZBQ0Rmf5dPXmIgjIdHR7wvaM0GqSmOOKx8Bz5Icbad vQVA== X-Gm-Message-State: AODbwcDs1lLM0y80rTKK1eYcz8EOKc8o4C4kEnqwX+AoWFX7agoUXmWz cHnqjI9WkFgOqr4k X-Received: by 10.84.128.1 with SMTP id 1mr26477287pla.244.1496819243201; Wed, 07 Jun 2017 00:07:23 -0700 (PDT) Received: from docularxu-ThinkPad-T440p.219.146.1.66 ([45.56.159.247]) by smtp.gmail.com with ESMTPSA id h84sm1849354pfh.45.2017.06.07.00.07.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 07 Jun 2017 00:07:22 -0700 (PDT) From: Guodong Xu To: lee.jones@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, xuwei5@hisilicon.com, catalin.marinas@arm.com, will.deacon@arm.com, lgirdwood@gmail.com, broonie@kernel.org, khilman@baylibre.com, arnd@arndb.de, gregory.clement@free-electrons.com, horms+renesas@verge.net.au, olof@lixom.net, thomas.petazzoni@free-electrons.com, yamada.masahiro@socionext.com, riku.voipio@linaro.org, treding@nvidia.com, krzk@kernel.org, eric@anholt.net, damm+renesas@opensource.se, ard.biesheuvel@linaro.org, linus.walleij@linaro.org, geert+renesas@glider.be Subject: [PATCH v5 2/8] mfd: hi6421-pmic: cleanup: update dev_err messages Date: Wed, 7 Jun 2017 15:06:00 +0800 Message-Id: <20170607070606.8889-3-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170607070606.8889-1-guodong.xu@linaro.org> References: <20170607070606.8889-1-guodong.xu@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170607_000744_364435_ABCB0CEA X-CRM114-Status: UNSURE ( 8.96 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Guodong Xu , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Update dev_err messages to make them more readable. Signed-off-by: Guodong Xu --- drivers/mfd/hi6421-pmic-core.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mfd/hi6421-pmic-core.c b/drivers/mfd/hi6421-pmic-core.c index ad9e3d8..b1139d4 100644 --- a/drivers/mfd/hi6421-pmic-core.c +++ b/drivers/mfd/hi6421-pmic-core.c @@ -52,8 +52,8 @@ static int hi6421_pmic_probe(struct platform_device *pdev) pmic->regmap = devm_regmap_init_mmio_clk(&pdev->dev, NULL, base, &hi6421_regmap_config); if (IS_ERR(pmic->regmap)) { - dev_err(&pdev->dev, - "regmap init failed: %ld\n", PTR_ERR(pmic->regmap)); + dev_err(&pdev->dev, "Failed to initialise Regmap: %ld\n", + PTR_ERR(pmic->regmap)); return PTR_ERR(pmic->regmap); } @@ -70,7 +70,7 @@ static int hi6421_pmic_probe(struct platform_device *pdev) ret = devm_mfd_add_devices(&pdev->dev, 0, hi6421_devs, ARRAY_SIZE(hi6421_devs), NULL, 0, NULL); if (ret) { - dev_err(&pdev->dev, "add mfd devices failed: %d\n", ret); + dev_err(&pdev->dev, "Failed to add child devices: %d\n", ret); return ret; }