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: 9854025 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 682E060388 for ; Thu, 20 Jul 2017 07:34:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 56E3028779 for ; Thu, 20 Jul 2017 07:34:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4BBA62877E; Thu, 20 Jul 2017 07:34:15 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_SBL autolearn=no 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 03D3828779 for ; Thu, 20 Jul 2017 07:34:15 +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=mXrLhCFg07DQ/umHY9pE8ssorI o8TR3VlqY81uK9a1Sbet413vK9D48BAIqxJdn2L0/WwrcrVtlu5V+WpbE7OJMZbYGW/5gKR/6PoJA Zh5Xlrt8Si65BOEjVB2KSgKd7SpZ6txnxgyCsD6GYukF7lSNAlDgHvoU6mjzpFFmaO6pCrBkLXW7c 52Bmapu+GvNpqbtfe+iam0T6mpIX7Z7SK3yqfCSMraUwJJcQcGRc0vsoOdlZ0J6sjlasv5691KpDy T7wdK5xRCGqbbY16LlNAalyvNJNKfCpR2J+RERj4B4MMZ/QP3+TucwR3yR6vhTKlNDBUgd9Gtizni CEI4AFLA==; 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 1dY5yO-0002FP-TL; Thu, 20 Jul 2017 07:34:12 +0000 Received: from mail-pg0-x236.google.com ([2607:f8b0:400e:c05::236]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dY5xn-0001aM-PI for linux-arm-kernel@lists.infradead.org; Thu, 20 Jul 2017 07:33:43 +0000 Received: by mail-pg0-x236.google.com with SMTP id k14so11201922pgr.0 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=f02Ndfib29tWF7tv/fCMq0QU5EkH/BESF9q6wjzvQG0Xo5a4R9IBDFh590i99hRg0x cDfXDoAw2gDj4H+N4ySW2ojGdyPRPd77jatXpFmZs3OevIs8pqCB89YUd1LfzmF3cil/ rKE+juvLa3CChuMJA++JCAcs2aKbaQHgdB7z3vFMShyjf7k8d/P5pP8sAUwUdhy3fTip nDBlyOF6MkF6bCWcpQDjwLLJ9lTOd7tDES8vqAUIFr6EB30LkA5SmSCFNzAR27O36+2y DWjjYOtKmD3Yl10nWlqvMMjewhrpYLaxHjpVa1WuDB7yhRB1RKs4dVVcEbhL/KdIvF17 jtuw== X-Gm-Message-State: AIVw112GGh2ZvDt/6PB4ci7dJH9mvuP3PLx8lPoXwDrahOY5IkD9vRC2 wtDaYSEXJxtuY2kY 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170720_003336_843627_D342A2CC X-CRM114-Status: UNSURE ( 9.13 ) X-CRM114-Notice: Please train this message. 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: Guodong Xu , 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; }