Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4292283pxk; Tue, 22 Sep 2020 15:54:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxNzFAmRcnNWTKUgc//BXUsiCnVuFU95fKi33xsmwhNiRUOi//duqhl+/tc9Vl27GQMVWX2 X-Received: by 2002:a17:906:1dd0:: with SMTP id v16mr7214351ejh.309.1600815263489; Tue, 22 Sep 2020 15:54:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600815263; cv=none; d=google.com; s=arc-20160816; b=zNyEFDQOVCAC9H39f3qpTThd7YvxznVHBNFu5eayoxal8Ls5+f+OaFyenl4NZL8+53 wMkFq29LGmV7Sk8qN+8IbeQVcobzKSzwOo+cpQQfjyad65gT1Wurro/9Swlj0gXtG/HA i7zlSW5Eonl7pmnRWd0FrdOnKUmBA+IEUtY9Ug+0ojN15iuDfk/5uDk5bFUAgRA7msO5 mQdNuxqsH1hyGg1jgsiXAp+3/r9pEtSfoQZryMOIoKIbrbaMMymJ3WeYOg8RQSM5Uwd0 rK+KULhNapgFLdyfPjxn8uZPqnyDqAJupbVRP3/BlHLK0v3vS1GFUT4xzwrjonw5DEvs cUXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=sDSR1ce4KphQ0il3AGhZbX187pqIlH1Dh9elxFFWxsQ=; b=zIisveiYVuCY6YI/5q5LHIvn/3OdWQRVkDMa+/4AfU7Z84mxgQkhGjSvW0fTgkW3rI bB3jK7hY/Rbpl9VrT5mf6qmeUF1m4+mXdvWUuyDBP8EYoszoRmpjoszXNkrF6tpJ/Z4i EhDNvuFv3+0f8VGqSVRjMRbAhogbAsyQNA7GgnLbKaUP/jHQKgNBxgkYbyxWOizP1GB4 Zmy8qc0XljO2TCaxGN2mSQMRYFcDIemUEVEhjdOh+48wySrrWGOGs3q10T98BWkBkLpp RsK33yyei1gxPqDitmrm16ZFQagQah/ZJsrxOe2EqOH/bg+WZeIEjMG7vK+4HNq3NwTU x4PA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=I4DnbTjQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z16si2718789edm.62.2020.09.22.15.54.00; Tue, 22 Sep 2020 15:54:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=I4DnbTjQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726977AbgIVWwp (ORCPT + 99 others); Tue, 22 Sep 2020 18:52:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726614AbgIVWwk (ORCPT ); Tue, 22 Sep 2020 18:52:40 -0400 Received: from mail-lf1-x144.google.com (mail-lf1-x144.google.com [IPv6:2a00:1450:4864:20::144]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41978C0613D5; Tue, 22 Sep 2020 15:52:39 -0700 (PDT) Received: by mail-lf1-x144.google.com with SMTP id y11so19861441lfl.5; Tue, 22 Sep 2020 15:52:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=sDSR1ce4KphQ0il3AGhZbX187pqIlH1Dh9elxFFWxsQ=; b=I4DnbTjQCA0ErNuWNmbzIgOLU0l9NHTV1I9vWrGUvr0qxXQBzBsmz2/xDtsloxtmp/ exif/EJ9arRA7sRjZc/F1WPvCAS95+HYZ05rixYNn2SJjjD449C325DaSrunDWMuukz/ CjYWwwm7UPzdXJBrED9Ha5nFymDQ7eMv4B2mx/iLPqSDg20FGiYktUVGqc3zEJOHUtDA TvPilNqiufwlgBCe7/NPR/fKMMdlugIIk0lPL5UAaYZSX5gkCJcQjvSpgatW/4tsp0oZ h2GOh25waD1UgtEO/lKnJf/aSD0r4BEl1QH/RmigxODq/hD6Yd+sPuhVBrWUCY8BRId4 gxDw== 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=sDSR1ce4KphQ0il3AGhZbX187pqIlH1Dh9elxFFWxsQ=; b=H9HpYhbfzfc3h5poygpHfCkxv3QaaBGtdF7pMW8LU28avciayWt78bQn+q0fHgUgso kjqePSlCPK21xUlo7k7bu8KyXphg0KEc1UIfh7anJDuMCbjw9X/98OptqGp8iS8jid/q Ceywuw/SHxa76e147gb/5Ull1DpwVpbja8ljVyGFYk88YFbGt/D2ktPOlWeUF2CuCkCn eMv1sP7AnWXqrGiRxPGr/h+oH7ysEaLFaONROjmFRZk0tTJMiR4cInuBUyWZtcEhCwIO Wu4TnommVOuDevVBI3tKOu5m0Gz7Rb7ApCamheWNHz78G6nGm6bB6RP3ffhSXPQpMERw kvdw== X-Gm-Message-State: AOAM53085yt7kYml3k5kEGweDmAldGJCaJsxJdDvwFU9V1MFqMe6ROCi sb6OTYZd+DJr6Wf5APKAaIY6x3Y9VNA= X-Received: by 2002:a19:ec7:: with SMTP id 190mr2286305lfo.275.1600815157692; Tue, 22 Sep 2020 15:52:37 -0700 (PDT) Received: from localhost.localdomain (109-252-170-211.dynamic.spd-mgts.ru. [109.252.170.211]) by smtp.gmail.com with ESMTPSA id l15sm3977588lfk.71.2020.09.22.15.52.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Sep 2020 15:52:37 -0700 (PDT) From: Dmitry Osipenko To: Thierry Reding , Jonathan Hunter , Laxman Dewangan , Wolfram Sang , =?UTF-8?q?Micha=C5=82=20Miros=C5=82aw?= , Andy Shevchenko Cc: linux-i2c@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v8 08/32] i2c: tegra: Remove error message used for devm_request_irq() failure Date: Wed, 23 Sep 2020 01:51:31 +0300 Message-Id: <20200922225155.10798-9-digetx@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200922225155.10798-1-digetx@gmail.com> References: <20200922225155.10798-1-digetx@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The error message prints number of vIRQ, which isn't a useful information. In practice devm_request_irq() never fails, hence let's remove the bogus message in order to make code cleaner. Reviewed-by: Michał Mirosław Reviewed-by: Thierry Reding Tested-by: Thierry Reding Signed-off-by: Dmitry Osipenko --- drivers/i2c/busses/i2c-tegra.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/i2c/busses/i2c-tegra.c b/drivers/i2c/busses/i2c-tegra.c index a52c72135390..b813c0976c10 100644 --- a/drivers/i2c/busses/i2c-tegra.c +++ b/drivers/i2c/busses/i2c-tegra.c @@ -1807,10 +1807,8 @@ static int tegra_i2c_probe(struct platform_device *pdev) ret = devm_request_irq(&pdev->dev, i2c_dev->irq, tegra_i2c_isr, IRQF_NO_SUSPEND, dev_name(&pdev->dev), i2c_dev); - if (ret) { - dev_err(&pdev->dev, "Failed to request irq %i\n", i2c_dev->irq); + if (ret) goto release_dma; - } i2c_set_adapdata(&i2c_dev->adapter, i2c_dev); i2c_dev->adapter.owner = THIS_MODULE; -- 2.27.0