From patchwork Tue Jun 6 08:51:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 9768315 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 3836460352 for ; Tue, 6 Jun 2017 09:06:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2DA7E26785 for ; Tue, 6 Jun 2017 09:06:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 21D722841E; Tue, 6 Jun 2017 09:06:27 +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 B0F7B26785 for ; Tue, 6 Jun 2017 09:06:26 +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=hM6QFHmxfO0XsvNAIgMs0ovpbT cKKNNCTkMvTxRu98QGpiddg9Pt2Rw4lliA4sE6mfMRbI4HWVr3Vsaq6+ZyDWmJaWHEghh8wqsIra0 0Kc4KOMrw/X/zc5ZtMfpC4aDvo75DPrj4htjCmZAvqbatP/6IDhrr/Dh2ZYJiSc75fchiW23DtJdK xu51jwTYpXx51H48d06eFXov6qOhMyN17LeVgDzSoNuCVJTGyzRMmZEHWKSggLfkpVYE3DSRNdOdS su+XgjzhBnFrNMCOzYraNIieHzhDeIMlE1z0vn9BN9mGm0KhUsNJmZqGSzDsZmVvOGfLPQ8+2AMGs tj9707+g==; 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 1dIART-00058U-2O; Tue, 06 Jun 2017 09:06:23 +0000 Received: from mail-pf0-x22f.google.com ([2607:f8b0:400e:c00::22f]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dIAEK-0004Og-Iy for linux-arm-kernel@lists.infradead.org; Tue, 06 Jun 2017 08:52:53 +0000 Received: by mail-pf0-x22f.google.com with SMTP id l89so21282687pfi.2 for ; Tue, 06 Jun 2017 01:52:28 -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=VdpzRvdIfm1LB+rnfODtB58ZgmWRQTljChCOdDVkpVIdWSCHLxPVqSW3/jQV2viWod kHQcg4tk2bv4WKGwUKt6qQ5X5KIxKZJIAvG2kQNqWo1EYsGyLxq18HsQwlNRilgyLfRo QZmMH95P2Bdi7KfJ31ROH/3UrAOHBiJM5JHaI= 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=HpQWAtnuFph8nWrywcFXQWS1Bjq99XVCzrmNTQvNGHOR4NyWRSowlojZcgqv9uoCDb SszCTaLquKugw5rX52Ai7bcW38g8lE/Ujav1Z+UDCNv68P3MaDf+mEu5sFXQVLG4ZdXF VGfYxuhOXGAAZSyX/072U3egsG2IpRTSLMofhGW/8pLczvBt0QFG5aHqEiDScquxqjyc /HSSKCwN5flYgEYdK78rxJGJ9a4egBctlcs8M3czx0NlnEQFI/2Kn5aRtYdRQVkwdNss g4hduft8HtQWRZGvSdYeLzNS3L+flv9m4gyp8QjW98eg1w0CW7KaI+RlM71FK/b4xmy4 LGeg== X-Gm-Message-State: AODbwcAuNXeNw5ObK/HJYn2Tx2jR5n8yAzuUwpMTPsETV/qx7YHQsHNN +kWK7bShsocoFfwe X-Received: by 10.98.25.19 with SMTP id 19mr24891083pfz.146.1496739147853; Tue, 06 Jun 2017 01:52:27 -0700 (PDT) Received: from docularxu-ThinkPad-T440p.219.146.1.66 ([45.56.159.173]) by smtp.gmail.com with ESMTPSA id b14sm49851988pga.12.2017.06.06.01.52.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 06 Jun 2017 01:52:27 -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 v4 2/8] mfd: hi6421-pmic: cleanup: update dev_err messages Date: Tue, 6 Jun 2017 16:51:37 +0800 Message-Id: <20170606085143.13154-3-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170606085143.13154-1-guodong.xu@linaro.org> References: <20170606085143.13154-1-guodong.xu@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170606_015249_394596_275E4245 X-CRM114-Status: UNSURE ( 9.28 ) 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 , hw.wangxiaoyin@hisilicon.com, 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; }