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: 103136 Delivered-To: patch@linaro.org Received: by 10.182.29.35 with SMTP id g3csp1163651obh; Tue, 6 Jun 2017 01:54:50 -0700 (PDT) X-Received: by 10.84.178.129 with SMTP id z1mr19838609plb.171.1496739290757; Tue, 06 Jun 2017 01:54:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496739290; cv=none; d=google.com; s=arc-20160816; b=x96M6rWkuh8vC81b/Hc6ESLuvp71XCaqb85JtRh5ZiL5KNkiNe9RX9d10Op+AlaDJ+ r1u17GuOgeIPtAH4Gjy/N+X3cz1IR5Ks3FdHA/MXnT6dqN9p9rlb6GAFRnbTCZK6cp4c hiztALG0ZmAjy2YTz/RQB1ZrD3b+ib92ZjAUCXaov/JJjF8IF0K9LWNXqvRLsdUfig9U RgkduUm0i/eDp1iDVn9Y315iObu33EBN2u781O+KdEZ7YcUQDJGKSq/l2Puwe2kdRtD3 XgtgesZePlPPSfy9xbqRo8YvgsdNDua5+/hO/hshd5IX+oYa2GfMnj3xpLh5z52XIbk5 ZfkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=Wg6xbtxMMJvqeOryeBJAQ2GWL1fu8ogfoh72TT0ZUPE=; b=kOnizQRyIhX0H/LaneIONtDmmAZL0XMesKyAsLFz8lVncLZoPhfw4POdYmzmIXE9Hp 3ZENO2OlBLI1ZvalhlYW35GVIihAEppQ9gszXX/LluEAjHd5qnyQvKqBg+gqNrnJWL2W 9tprZwLgMw6fnFKu0uRq5RWuBKFyyP9pxiPChasnzPxTjbvOefEi8NavTzM6DcRLwfOe 8AtSSyhKVt7kQuCCpJGRiFPS+GVyvBkTHL8bmj6MJzcUSLCcgnzpy24GkkvnkPpGVTaE tRq/oqBWXPyLm2RUN4XVO4kNG5ZEF2FQud0c4nQcBJCBMh9efK2Po+jVsKyjzJlg1awL 5Qig== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q4si9224163plb.272.2017.06.06.01.54.50; Tue, 06 Jun 2017 01:54:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751402AbdFFIy0 (ORCPT + 7 others); Tue, 6 Jun 2017 04:54:26 -0400 Received: from mail-pf0-f176.google.com ([209.85.192.176]:35368 "EHLO mail-pf0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751417AbdFFIw2 (ORCPT ); Tue, 6 Jun 2017 04:52:28 -0400 Received: by mail-pf0-f176.google.com with SMTP id l89so21282684pfi.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=HpVX+wRRsOgSQdR1Z7kh6Ss8reVkUTw1MxSu/5qw9RvI2nS+c5T1w/0w0eJ/4sEP78 6mkv9G5SIiKO9O7/t3JlxTzZcm5MMHd3rVNiZ+oV36QlYIJ5z86FH/1Um2NPQEDB9jgy tOLYczo23zYH8oXhpGBddu1FppDosOHS0OvnPyEocJ8lq4SK+hTX1aniYL39/m1NnMip wFv5ckZAvMPMpXqE7ziKf70+ZSnwhmgHxzmEy3k5XZeFChV4PWnPuZNQq3Op4A+ec8h3 GAsKHbkqEtrsq+R7R5zS25Js49Lk4aBZ+7rzO3F01Hp61qe7tGWwMXyO9pH84QbU+oFi hcWg== X-Gm-Message-State: AODbwcBK6jEoGrBnzaZiTVPITzMH4Tjx+r8kFy0KEOcjngUGG7Tdo45N ZbWqP/3OcwxdqSxS 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 Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, hw.wangxiaoyin@hisilicon.com, Guodong Xu 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> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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(-) -- 2.10.2 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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; }