From patchwork Thu Jun 20 08:11:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 167304 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp1758834ilk; Thu, 20 Jun 2019 01:11:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqzdJwmbjPCe0HafQDEDBpjeuFk6YhAmZrGGerEEKNjCIYPzrHPQk0+dS/9w+Yfegy0R35Vo X-Received: by 2002:a63:1f50:: with SMTP id q16mr11671991pgm.304.1561018298680; Thu, 20 Jun 2019 01:11:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561018298; cv=none; d=google.com; s=arc-20160816; b=eMxCX7344JM9PMA5Iybe3msc6bWAfuYIZvofivru75mXrMiH0KGfBIEb6vQoLUa94u p0B8Nv0xYgsy15kEvxXCorgF44EVtoCgkkM7AkzZV59f3LETZ9QvFWXnFojmGGqMI57s xhb6zX59bfXD35O9ts1XYSuyxy/X676iIhjSm7+ehwWNhCaX2LzJ5PaHM+ZGDnqVbPMb /xH2BiveNgr0IIf6uH2i3zUydWn8i4vnI1KkaT2Hdy7Yd5ny6RH31RMzOMQU1/2c7xpR ZbRUh0FFrZ0T59pIAe3VCEjXH2Yxe4cSjTKadGB/orAeM92wr9MzXUPx0DI7Kx9Y4VZb NbUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=yk3s13nDy3wSE2QTnTVmJsFL5rtqbtjjYEZwrzIJL/A=; b=YNkmRYSC6aTCmxikiGsETFpgLbMcSF+QyebqIIgjmzJLNl8095huZholvKi2RHFwDA s/wgsLpz3RE/uheEboVEjAvbJhfon5PWW0RIcAemtHRJ8J2Z8L28FBgBnHDaa09NiuNL 69l4+eYTwuPd2JF0g+79fSOA+SKgqAu0N+G362FFPEmgtdv91d+G9LltIUbhvdsMiqGA 652RMmIQmdyemI1MPp7Jx7Z7o2U0jcjknZNoHUQyhE2bAY6ANxcXKxVFgq1wB2XwImtA kIj7ZjeZXVJn5LUp8NOnmLEOk+oaiE7mBupdxGjBhNI/PDOg8/zmWHIPv+mBoC0dQWMT ZzqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="PMuk7/TM"; 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 w3si5064288pgp.583.2019.06.20.01.11.38; Thu, 20 Jun 2019 01:11:38 -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.s=google header.b="PMuk7/TM"; 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 S1731099AbfFTILh (ORCPT + 30 others); Thu, 20 Jun 2019 04:11:37 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:37527 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730487AbfFTILe (ORCPT ); Thu, 20 Jun 2019 04:11:34 -0400 Received: by mail-wm1-f65.google.com with SMTP id f17so2137803wme.2 for ; Thu, 20 Jun 2019 01:11: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 :mime-version:content-transfer-encoding; bh=yk3s13nDy3wSE2QTnTVmJsFL5rtqbtjjYEZwrzIJL/A=; b=PMuk7/TM00B26wtlQCEp4fvfPYDH1EjBHokXQOuvImdF3IPX3gmBnSatBUGaYk21yh MYvbbxy5pB8fQTv6AwsWdLEdEl+SsYH9oPDLOF9qXnUkDTdUDRD7XIPZbn+NGTbM9IsL p6tf41Y0IWR1srVcVC6pypiBqf7xbDFBArqvO99E1VHg6mMahVqkKolpbpqXKDjluEe1 gyszNh6ogGL7flbzMxpoghetcTsCUzVjw97bNLHo79bjHJTqr9YZa0BdwrjGWRkc7yhh +LfgXIyuGfgygHLQaw1sGDyDLckz5SCUNn9ssmzhfe7h3dbsB/Ezp8l+MIWVyGzevXhN LI4Q== 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:mime-version:content-transfer-encoding; bh=yk3s13nDy3wSE2QTnTVmJsFL5rtqbtjjYEZwrzIJL/A=; b=DHThZBtAwQPE4wODmCsVFRlRa+Bwc6xRJIRsqQmiLpDu5iXk6MOAzpEsOrQq8wRIXP Jt0Joj35pSnJr0Rx6q8GuxUM37PKxNl2V/C5u0wqtH3xeGHNpQGMg3VY1qSnh/L99fVd 8RFvd12fgl9nPxgtURqToumrrpGaSHUnWA3N8ob77Q7TdXJvU+nr5YGKBnaPMsv9+IDO aOnvw2QMuiAICUYVaPPED0XZHXGoj0UQ4M4uOqT3TdUApQoC1/Z8QKq2095gT6ipNgLA xpioXsCHHxDC4hnJeBo2Wa8sUslvYL1FD7TnCbUJSlNgMeXSqMVvuyG+jYb+BolQv76o t8PQ== X-Gm-Message-State: APjAAAVOpTEqIVOkyshFbRcoQOuLMi5w2Od/8bd3cdeMxhHgz38VyxZx C5j5LUR2L3REaohum9Ejna2u3A== X-Received: by 2002:a1c:f319:: with SMTP id q25mr1613578wmq.129.1561018292890; Thu, 20 Jun 2019 01:11:32 -0700 (PDT) Received: from srini-hackbox.lan (cpc89974-aztw32-2-0-cust43.18-1.cable.virginm.net. [86.30.250.44]) by smtp.gmail.com with ESMTPSA id q12sm17559174wrp.50.2019.06.20.01.11.32 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 20 Jun 2019 01:11:32 -0700 (PDT) From: Srinivas Kandagatla To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org Subject: [PATCH 2/3] slimbus: remove redundant dev_err message Date: Thu, 20 Jun 2019 09:11:28 +0100 Message-Id: <20190620081129.4721-3-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190620081129.4721-1-srinivas.kandagatla@linaro.org> References: <20190620081129.4721-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ding Xiang devm_ioremap_resource already contains error message, so remove the redundant dev_err message Signed-off-by: Ding Xiang Signed-off-by: Srinivas Kandagatla --- drivers/slimbus/qcom-ctrl.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) -- 2.21.0 diff --git a/drivers/slimbus/qcom-ctrl.c b/drivers/slimbus/qcom-ctrl.c index ad3e2e23f56e..a444badd8df5 100644 --- a/drivers/slimbus/qcom-ctrl.c +++ b/drivers/slimbus/qcom-ctrl.c @@ -528,10 +528,8 @@ static int qcom_slim_probe(struct platform_device *pdev) slim_mem = platform_get_resource_byname(pdev, IORESOURCE_MEM, "ctrl"); ctrl->base = devm_ioremap_resource(ctrl->dev, slim_mem); - if (IS_ERR(ctrl->base)) { - dev_err(&pdev->dev, "IOremap failed\n"); + if (IS_ERR(ctrl->base)) return PTR_ERR(ctrl->base); - } sctrl->set_laddr = qcom_set_laddr; sctrl->xfer_msg = qcom_xfer_msg;