From patchwork Wed Jun 7 07:06:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 103206 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp1796243qgd; Wed, 7 Jun 2017 00:08:12 -0700 (PDT) X-Received: by 10.84.142.131 with SMTP id 3mr25908694plx.183.1496819292659; Wed, 07 Jun 2017 00:08:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496819292; cv=none; d=google.com; s=arc-20160816; b=PZo4fZ4nbnOv2p6qvF7zR4h4Sf//VRVOPJbk/J0mmInM2GYXyXHU+Pn6X76K+bZP9g 4R8EL5uuL5mww7J7I3ehWC15vGhL2Env2cyrEmMezc4EzIZPNaCgIlwGS9m6j/Lk/pt6 Bz2x/a6lhulF1LAq5weMQlXWYiBFm4sN1nVVgBYbqm2LCx5mHucfLdLUegaRdukvUetQ HGcHIMabSf9nROiwPFQlP2/i9y8pRj8dHc8FwHN/ba48j+R8j71DvbKqftEv0nA0GEGX I+irRRc/g3nUobaVi/ciFSA4Kmnu7EvJAQHOrnD1XxhoszROhQ0DAQk2KIbvXPEVxUNC ywlw== 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=eadAuPLWz+ubm+xMXhvzuW40A+fVjIXHTbVw2jNpq1A=; b=QWex9qzE6X4lgBwhgLjFkvzdobxR4CZ5l0opr/DdneD5jNU3z3rGu38vnGv5uLYZHE LoWfqR/CS4suRoZGFQlDpSz3Y1VDhZXR7pzmQFIK4sHx6URqCtXJDderu+FCdDE94buJ Idm/SSvYIi0Tj7LaOjtCQnPIvU4xukheytePRlF4t5og7szP05Tf1IX2jXkuVX8WNzS+ l/S3d4ToL/ZhKCT+NcGyfjvKTi2ROerkjjK2xAKZ1qalLRkrYs/rC1tDpprpIEznuEAe s8iubhtk9CdYySCI7OjsoCB9Ef1WaCzg1QCyNwyFiRgnZ4NbRwAY/egIzAxC5XDExSbI G9Qw== 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 s6si996066pfj.114.2017.06.07.00.08.12; Wed, 07 Jun 2017 00:08:12 -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 S1751746AbdFGHHf (ORCPT + 25 others); Wed, 7 Jun 2017 03:07:35 -0400 Received: from mail-pf0-f177.google.com ([209.85.192.177]:34284 "EHLO mail-pf0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751721AbdFGHHd (ORCPT ); Wed, 7 Jun 2017 03:07:33 -0400 Received: by mail-pf0-f177.google.com with SMTP id 9so2426159pfj.1 for ; Wed, 07 Jun 2017 00:07:33 -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=fSxpeIXirOFa2sgcBDBH2c675hGMgR1kG1RPrGMDYfDfTce/oXMsEramLInd1GWpJt eqbKJv7NcBCEeIQ2ruPHoucJ7U+/cgfkYDoUht8Gn9BdJNRBQi+us57v4DFzlB7Cfwi3 Thikov9YNnadKhxkWO3H9hdem891VoGoDxO5I= 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=tZvp2obkOB2B6xtddZE2+27s/uzWvvr646omJV9MoGB50Y3g28qYCWvbbCZg8dZvcO b17doYZWnfburn3u4/IKOEd9JwUzx1wytLhUwARn+TNSf3wIpU8g2oC05leQK/7IvIks K+lBdajH3n9LLJ4B3eYDdFnT6F0KBi8XQEfppsPM9JCM6rypu/2YLqw1Xj+RphUrnDDt UNL8PrGSjEJS9g88zJg+b+5g6eHRSiBrrxSW1OYZtZkY6rJ6C8SvNaVkEb3RpslSpM5z T/ez4g+ftNsffSNynT/btwUVAZrtenOKrZ7jr/KzKrVgSZe/3qNoRnW4EsrKN4cjsO4y i0nw== X-Gm-Message-State: AODbwcCOr37Td8MakMVpHOMKWEYmbTYBFCiY5CGK+GSGp6e1K5F07bzK 4zufDFM/hh6MjnvU X-Received: by 10.84.128.1 with SMTP id 1mr26477287pla.244.1496819243201; Wed, 07 Jun 2017 00:07:23 -0700 (PDT) Received: from docularxu-ThinkPad-T440p.219.146.1.66 ([45.56.159.247]) by smtp.gmail.com with ESMTPSA id h84sm1849354pfh.45.2017.06.07.00.07.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 07 Jun 2017 00:07:22 -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, Guodong Xu Subject: [PATCH v5 2/8] mfd: hi6421-pmic: cleanup: update dev_err messages Date: Wed, 7 Jun 2017 15:06:00 +0800 Message-Id: <20170607070606.8889-3-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170607070606.8889-1-guodong.xu@linaro.org> References: <20170607070606.8889-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 --- 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; }