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: 103425 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp2649664qgd; Thu, 8 Jun 2017 15:10:07 -0700 (PDT) X-Received: by 10.84.232.199 with SMTP id x7mr37859250plm.193.1496959806916; Thu, 08 Jun 2017 15:10:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496959806; cv=none; d=google.com; s=arc-20160816; b=h5c1+fEw5xR41mMsrFgMEsHSixVHM5yxnuuRrwoJyL82mImK+vCKEQ74AyjMcm72Q2 g3LiCw6IyHCNBDGMuaWeKuCPWEul3NmGpqXRBDfsbhCD2YDYwghtvTQMCZBlfgJctJLj G67yaU1jhCtPs818n2FgWa4kydKKCI/Pzjt0FiNkL9Ak1bS0MPBM+DhE2QTeJdBbEfv0 5M+CBfFGP9gQn+2N4TEwfdEotf2cPyVHzP1laAxpEeIhJ4m0lVSWbhDuAMpAF8AKeEYU 6dQ2IGwx3DwY0EroGx4Ejk6C3i8kIJdvjmtAO61hOuLOQWQ9q/bzOOThP391+3MLfD4t jjZA== 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=dZ0Du/DQff3LeeQywzmW5g74kWSCbPPjLtsps+Wdw7jWUuqnlfy5RlyPAWRKoWWYP6 gVz2HYJS430S3qRR6v/K+XlEj6e5B1Sn4IMlg8vNH4B8LjsjCCQZgr2QOti7eehDzQEk S0pfVFkXyeWorDx6bIdsiFUttgQnDDnpWt+/YDukxIjmqcIFbtHgSgLoIAYiQ4+noVtv tUoR/F8r2X3i1rp93IWwmmKmj4D2lZPl97YjaXwVD1gAyx/3vgGYgglMScNuq1Gfp/wZ /WZUYIPd7EvBDnYPfeaEdb1+d4URMMYUTpiKv6Q4rFdww3PQ01oYo9hZP2Mngb8WTzEY curQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org; 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 t10si5288833plh.401.2017.06.08.15.10.06; Thu, 08 Jun 2017 15:10:06 -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; 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 S1751961AbdFHWJr (ORCPT + 25 others); Thu, 8 Jun 2017 18:09:47 -0400 Received: from mail-pf0-f172.google.com ([209.85.192.172]:33680 "EHLO mail-pf0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751932AbdFHWJo (ORCPT ); Thu, 8 Jun 2017 18:09:44 -0400 Received: by mail-pf0-f172.google.com with SMTP id 83so21571772pfr.0 for ; Thu, 08 Jun 2017 15:09:44 -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=p2Zl3nvZ9Z9Q8ckBZZTvKFC5a8sKl2eQlxh0T/+fABlBIdz9iq8DXLD1G1YCEGOykP ERtTLLg6i3MHL1PeYo4VxVipWKshsNliEMTOvCFPI/Mjj9gno0z1mbE+Tif5rf6XycB6 emRWIF4Dr0DlXESgMNc29BWFBpX9Z7ZdzaQhLTqxyc7EOxHuW57M0bieWbgxTuClaN8V Yi2Veyu/iMtXUu+EtnHBHSl0VL8KcyWQf7Zi95GjB2+6dNucvLMP4ehwG2IsaDnAwkOw NXR49qSRpLH2Uwefaa4wyQdOS2dLUPDXAljbgEfXGJ31ant19DXKjMYl8Q2OitoBCLDH IqYg== X-Gm-Message-State: AODbwcA1mEIEUv0IRc3UzkzucxKZKECvy7R9LcS2urvoz7m6L19pi2DP 41aIH57XOI+iaEMC 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 Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, hw.wangxiaoyin@hisilicon.com, Guodong Xu 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> 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; }