From patchwork Thu Jun 8 22:08:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 9776727 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 06FCB601C3 for ; Thu, 8 Jun 2017 22:26:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EC1F3285C2 for ; Thu, 8 Jun 2017 22:26:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E0C06285D3; Thu, 8 Jun 2017 22:26:34 +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 4C904285C2 for ; Thu, 8 Jun 2017 22:26: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=rzP8DLiu2NfqIElU5qgiyb4dnai+Il0cfVcwv5h1anE=; b=WMfSCRCX2Wt3XOiEII5zhEx4A6 LRW9Ta7P3bqeBb7opua1ViTuuRVMZti6GBxKUYlyWbttGcf8fPsaGoQNuHAnVjdSaveu+0WOGE7/m wq0hE2ETVlnM2rkCetx8gqpeMDVxG9IsyGX/Igpc5N6u48Pa2YwPR1MFR3sSRbcstyre41q8oTSYL 68F9abaMxq7gvuNrzYQPWJKvDpegeWZqeL/HIr5pLyXFgPjgnvPE8XbKVj0/nrFnbSr7dF0hcyHZ7 vzzj8xORUW0ugDqbPYvPD1Oypj4nzqzducMEySwAmyBaTOJo04DsYja3D1vpXJ8kHWQBExgS55ga+ TLaMZKEw==; 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 1dJ5sv-0002D3-8r; Thu, 08 Jun 2017 22:26:33 +0000 Received: from casper.infradead.org ([85.118.1.10]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dJ5st-000217-J4 for linux-arm-kernel@bombadil.infradead.org; Thu, 08 Jun 2017 22:26:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=faldoP6hm+N+vWlll454PPrTWRmK//VYkJScO73WLNE=; b=JW2SGdMAhWJy0B1k1TNDtRP60 U0BWtHH7OVzsxnOlPZQrc5Gs6cmGowPKqyYiy+wsYqQM1sZM6AFEF2hpHvdH43+5rrhicgy5LADOP oLl0OPCY6E5XRvC+hep83KFZK7NnfmhLtcmPP+uOZJOib9mjeKmpLqyRjnM+0kItG5ap7OAy5q7tk doYOYFpWhfo9ChLzYfdmjuw6ZI/TCwspK0cMZgblea0yfozMg5jkybmE2ZxGooMO37GPWR2ITYJLH JI8qj8n8P3fPPfMUTBz9zcRlWZivsA1/qrMMqtogneQ0Mxp6FJFcfU573kUD8lsJPWg7Rfr02MI4z LYLk7ndRw==; Received: from mail-pf0-f169.google.com ([209.85.192.169]) by casper.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dJ5dy-0000Ag-Mn for linux-arm-kernel@lists.infradead.org; Thu, 08 Jun 2017 22:11:08 +0000 Received: by mail-pf0-f169.google.com with SMTP id 9so21574500pfj.1 for ; Thu, 08 Jun 2017 15:10:45 -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=faldoP6hm+N+vWlll454PPrTWRmK//VYkJScO73WLNE=; b=HmkCGEAuF45T+I7w2QG+a1CgbaP5pHVp5cMrwOMQim0t2XpUmEtE049FaXnWs5ySEW FgkUGi2U7OhVpPJ2YFTAyw9TlgadFmS0NvLLv+sIj4m/Etovr9nUI5mn9Z2hY9W5o7SI AwiO6F89KNIbkvTh+evjuzXXaoOBzYnio0uNk= 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=faldoP6hm+N+vWlll454PPrTWRmK//VYkJScO73WLNE=; b=qNKOo2J0ljtNVc/FmZT1QiIbmv/bxTH2IwR1ASjCYbp/+jhdCL8UeZoGOIPm7R9NX+ 4xX7L3dHiDasHqI6nanCIRaj4MetyRnerQCDhDXl68OzpW2RNMwLlC2L4wrGHXsIzT4z VHRBQcurguHPqUyiIXBCnagxvK9DbrFkfRVuxxB/N16u5MLVjTO2z5obf9e44vPRRsHR 3I1OsoKZq9+fK6r4tjZIveOYxPrie5ooajT752yQdrRoOBgIOcc1KrbaEUscGl5S0oJK 6Q4tfEmiDqIJltvMbWgfqNtu4fouJcobI1HKO867CxDMpl5kjHGvv9RMdjtd/bDRN+Nl J/CA== X-Gm-Message-State: AODbwcD5hMWpxDlh98DPoc2F6//bPFWDwyCcpvvsevk7l4iP8TP/I63W /5A+YcchxtLa6hM/ X-Received: by 10.84.228.194 with SMTP id y2mr36827466pli.13.1496959784087; Thu, 08 Jun 2017 15:09:44 -0700 (PDT) Received: from docularxu-ThinkPad-T440p.219.146.1.66 ([45.56.159.87]) by smtp.gmail.com with ESMTPSA id r85sm11963639pfb.61.2017.06.08.15.09.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Jun 2017 15:09:43 -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 v6 2/8] mfd: hi6421-pmic: cleanup: update dev_err messages Date: Fri, 9 Jun 2017 06:08:35 +0800 Message-Id: <20170608220841.26531-3-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170608220841.26531-1-guodong.xu@linaro.org> References: <20170608220841.26531-1-guodong.xu@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170608_231106_879644_EE1BE257 X-CRM114-Status: GOOD ( 10.42 ) 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 Acked-by: Arnd Bergmann --- 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; }