Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4275249pxk; Tue, 8 Sep 2020 15:46:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx+lrgNKXWjc09+MVIFAVJUt6YIzXz2Rzdt7IJ2cyhaaEx1/z84RWozi1kSv1qsRM4SPguc X-Received: by 2002:a17:906:a1d7:: with SMTP id bx23mr715393ejb.273.1599605191705; Tue, 08 Sep 2020 15:46:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599605191; cv=none; d=google.com; s=arc-20160816; b=Z3cRcxySf17w6bDFdfZiogZHmX/zWQ2/bAKuHPGqY5BX76gALThsRQhIe7BnVCgeQx ntKsbnm/sklt+MB1gAUkmicS2tKddYz3QZv77oL0M7u7jdM0UfLxctcYcW4tWc2JBUke qjUtrYPFZCTf66ZIp+5LE3Cg14HRPwY3fMxq1vsulMygjP65U/Ofm+ebdOWWPVqL/8j6 oieS/jXQCKuccQjynYX2eXV7dZj4sSwrXa8BK5ddCOxJwXVQCOro6MYqT182NXrSvCKu scMwb8Vx3uVnKctiCYHnWgazy4IdVjrx9li2nOlLkOEtnJM+7lYsycq6MTRriFsS627x 3khw== 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=4LurUv+YpHFsrZm3AgTKy4azZ/BxWvLTGRcrIRYEkzE=; b=MCWtAEtOY55FI/d7Pj1UQpI4L+QZGccb5akWGQmZeviVFBPB83KDbH+1EHXr+fXyTi FpDX/7eept84lfLrbtpE9/nvaiGOyL+oQGDeZ30v4RFiaYtqBH/oURkrzD5aUiH/9rH9 CFxRa0xzkNowgIesYMgAJnVZs1YBxuVr9KDwEjtuZO63oWCBQvz7AhuRIM7Whq9bRVGN hOU77+Z2ofoxGQdDfuFTAUbnKsNmytQOzNm3xOeRnp/OKHBz0cIgxGNRsbqAQrTDevOq tfxR7kJzhqmI7L4ES+LyDAevIPdtFFEfUpYNaxNwFvV/4RfnYKFJMMAo1HSnrWE3Vink bRYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=L18wV+wn; 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 bm19si256964ejb.332.2020.09.08.15.46.09; Tue, 08 Sep 2020 15:46:31 -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=L18wV+wn; 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 S1730223AbgIHWor (ORCPT + 99 others); Tue, 8 Sep 2020 18:44:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729741AbgIHWke (ORCPT ); Tue, 8 Sep 2020 18:40:34 -0400 Received: from mail-lf1-x141.google.com (mail-lf1-x141.google.com [IPv6:2a00:1450:4864:20::141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F090C061795; Tue, 8 Sep 2020 15:40:32 -0700 (PDT) Received: by mail-lf1-x141.google.com with SMTP id y11so539038lfl.5; Tue, 08 Sep 2020 15:40:32 -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=4LurUv+YpHFsrZm3AgTKy4azZ/BxWvLTGRcrIRYEkzE=; b=L18wV+wnH0keseljrFVA8esoGN3whHrxEVuzpkw/Wuo8sWkUNtBUWJlYhQCx8Y7gIq tmv8pEx+s+e2l7KCgOcmwQeSQDOoaCauu20+Lb58KxGVAuB/o+NrQHiUlZkTL5AV3D7g HXpK7lxQnJ6MDq6h3AAvMSFcI0KGuivt29VWfe/t+9UYUxr7ZFMiskWY4lYWfYiDlmbx 6+qNPsgpt0T7CZnnKp3ROED3tLWL5qHuk4z9spl8mxqLnhH500cljdtgjMlkTCXc+E6n S38uF8yeZC2BdLgcDjK8nrzRMcn5HYhpyG4zzwbZCuBE3+6T2LaMOwfqlxRDXxvlPalK hLeQ== 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=4LurUv+YpHFsrZm3AgTKy4azZ/BxWvLTGRcrIRYEkzE=; b=jvmGz6MthzeXVM5AS6uSZKsDP9CjR3MEK0kbcGcQUrCl8Eqz6t4xcLl4dqurHTfJiF ekLIE8/PPM4Ym9VWxA/KlkYvO4qfQNj1pIxzWsZ5S+2yqrp2KtK7p6rzYHnpBI7CixeS z/PXCAhoEco1ocrvnJ4pfvcog4j9SQaUIjo0bjU5M0khcSuTqN67lzOtEPwTXHM4DO3y Zr+KjCQrUaxsbC2gIe3om1CKc1DcOsM8r6+nDAxM054+D0xYgFwMoV+BJdx42sKt4z12 Rr3IkFY/rIAqQdcUGji+IfhOTh9tUGNtI8FXWNHO60YlsW8bctkeOvAZJa3hPO50/qLv 5ozw== X-Gm-Message-State: AOAM532qUGDN+6e9kRZR4iWOpL6akMGQLQHM/6vYkJhul9pViDnj4J2z CCGRWLnEnZMM3LmwNhYTFOTcE+Yy2Ko= X-Received: by 2002:a19:4bd6:: with SMTP id y205mr541701lfa.182.1599604830685; Tue, 08 Sep 2020 15:40:30 -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 s15sm268311ljp.25.2020.09.08.15.40.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Sep 2020 15:40:30 -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 v7 08/34] i2c: tegra: Remove error message used for devm_request_irq() failure Date: Wed, 9 Sep 2020 01:39:40 +0300 Message-Id: <20200908224006.25636-9-digetx@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200908224006.25636-1-digetx@gmail.com> References: <20200908224006.25636-1-digetx@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org 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 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