From patchwork Thu Jul 20 07:32:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 108317 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp1795174qge; Thu, 20 Jul 2017 00:33:37 -0700 (PDT) X-Received: by 10.99.44.201 with SMTP id s192mr2904192pgs.312.1500536016903; Thu, 20 Jul 2017 00:33:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1500536016; cv=none; d=google.com; s=arc-20160816; b=n+x9MW0OfQAmBEnON/p/DDRZG4lZkEEiKgkc6D4nk35chYD7ei3vBb8x6oX0teEt19 kchIaDw2CazL/qh+vEFNVBDY9OpyYFaQtAJ/LOMpFdRh3fWiYjP6IPeFkGdy8vY+sYIo j271N6WYY/82vJX+SN5yQoqQsohBHjWhQtHG5IbQkVWQrdDq8Xuo7urbEUKZKIH1R5pI OEfVBjK6qed5vO4dYeiOwqdbhSSfd2KRNXT488TRzwUEXilDHD+Z1lHqzC3+Qdtxm5Ql GnmXIODTCsBP7y4nhons0spvZgK70SUdiPcPTYpRL0c04uFXI51M9kcj53Bz1/Gur8rt JaZA== 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=faldoP6hm+N+vWlll454PPrTWRmK//VYkJScO73WLNE=; b=LuRbCAxHYqMBtAerQ9pkpEpmZQB2gseIqUgs9gvmPpVr0n+bo1ilHyjtPnMckes9pW ajPxP/7anjdx9+Eymxf8owwndkj+/s2kFCllmfI+bGNJW/dHNzbq0SBrNIDb65jPaYX5 yKZzmP5aNYSU7WHJIe+UVxIFjd7odIXlb8p9rdw8xjTFfqgj0u6h3Q5Eq1YotAyfigef 6K3xm1FNvQfP2QHRibRRuS0jtujB1W0BAnbUFmUc5vWyw84gnONYgpyPQk+ConKrF+9O HcYXUOsR0iSUG3gIE2MimgYTI0g9hIRykRJKU8YI2LWt24ZM4+7nGyZEIsPCYy/WAyaw sjow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.b=EZ7FfDCf; 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=pass (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 t1si1290822pgs.53.2017.07.20.00.33.36; Thu, 20 Jul 2017 00:33:36 -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; dkim=pass header.i=@linaro.org header.b=EZ7FfDCf; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934537AbdGTHdT (ORCPT + 25 others); Thu, 20 Jul 2017 03:33:19 -0400 Received: from mail-pg0-f52.google.com ([74.125.83.52]:35960 "EHLO mail-pg0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934521AbdGTHdP (ORCPT ); Thu, 20 Jul 2017 03:33:15 -0400 Received: by mail-pg0-f52.google.com with SMTP id 125so11079584pgi.3 for ; Thu, 20 Jul 2017 00:33:15 -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=EZ7FfDCfuU+Yp7L2tId0KVjsofOVNXyxj65pddFd3M1N2OozHtByYlxth+biuYTDD7 euh69G54+pZimOuLeyCGfKRKxt/ZVtUuxs9l42XChlCicViWciQtvnf0kqFtm5io5HhX Mp8QLWGTYlB7PsdIb7nsQRocNDNWBJI6N7+C0= 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=iqStyyLQqmDCD4S9NSVBmThZUlt/Lcc02XN6C5dZJ1577wZnznSXsOQy23pj8WkblF hcGRtyrp2c06hwQzAOGgW2ixOscS6yH8IIk7L80nhiJEPdVb/52wH3zaP8/HAA384kgR QYqOIxAjsK88WXM/KT2scApQ0zqje5TIFTSuZAhj1UJWFkTDJXPIHeFlwQMBE7CJ9+cG BJQzdG1pO6f4NxNwTPbWMKA+TETEq/ljicJpq3avE+FGDf4d4aCpZpXK1158IEIlm99r MN3Dcs4f4iYCYHxAGIUBAdvOcPsZ3lyA438/Mgnqf2A6lmKXmTdh9qycBOkGFSXPZQ0W aPeA== X-Gm-Message-State: AIVw111QpFtOqFTkQ9kKbcj0TMexrN2LbOy/wAPPbnij+amKvKDReUqY FPdhkDznxfpwkxue X-Received: by 10.99.42.143 with SMTP id q137mr2876750pgq.297.1500535994801; Thu, 20 Jul 2017 00:33:14 -0700 (PDT) Received: from docularxu-ThinkPad-T440p.219.146.1.66 ([45.56.159.45]) by smtp.gmail.com with ESMTPSA id s62sm3230494pfi.36.2017.07.20.00.33.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 20 Jul 2017 00:33:14 -0700 (PDT) From: Guodong Xu To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Guodong Xu Subject: [PATCH v7 2/3] mfd: hi6421-pmic: cleanup: update dev_err messages Date: Thu, 20 Jul 2017 15:32:41 +0800 Message-Id: <20170720073242.1758-3-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170720073242.1758-1-guodong.xu@linaro.org> References: <20170720073242.1758-1-guodong.xu@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.10.2 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; }