From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9BE94C001DC for ; Thu, 27 Jul 2023 05:36:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=uDzWf3WYCxz9GWefG6NraMHmj8res50wHao154Ji9gk=; b=Q1/HHkicwKC3aW 8Eg5wRMPHOc7g5MmGmoyvlCLskqcQVBZZ4Ei4VA/E/gnVvoeAVqJhmjc665zSgA3xbUyxLLiadO15 aHZDXAXuZShAlmDgWvzCM+SuJMKBIIM+f4v6fxzk73DRWun7rmpV+43NtQmH+7iTccms+6DJ6/J5X PDSgeDvJsBtCo6n4GS3oxMEuFsDJovly0W+x8wS8rlsv4luCUSTHLa/0USu3BUZilQ0HoE74loK+3 ozQYkd3X68SeLHBf8U1cySD1UMCVB4Ezx5GHLL86vc9pJZke34Xcsdchh8amCGjDUu7rKTpy4UKq6 zCAD9T4+Bt+wsbzGJJ2Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qOtfo-00CD96-2P; Thu, 27 Jul 2023 05:36:28 +0000 Received: from mail-oi1-x235.google.com ([2607:f8b0:4864:20::235]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qOtfX-00CD2e-16 for linux-arm-kernel@lists.infradead.org; Thu, 27 Jul 2023 05:36:12 +0000 Received: by mail-oi1-x235.google.com with SMTP id 5614622812f47-3a1e6022b93so524774b6e.1 for ; Wed, 26 Jul 2023 22:36:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1690436169; x=1691040969; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=EjWeTmshW9b7tciVrlbg2N18mlV88oSOvDpzyfZWagA=; b=QXRpeQZw8Gxer8E08fLZUMXwYVcxetcdR8vREY7f6yZOYu0sOS7drUt+68Xzz6/nEN fvlrJQW4Oj1UuL1T7TyQgwD10wVS1a8//CZ1lHoA4uC5FSvLp8WOTayLz+Rd9W6O1QiZ hSV+oGTPT5KgkXn9YPxk6m4/9lEBFkmTBW7zK/hdwLkiUkOqc9zv/Z8k1XbwOi9xaysf D6BmmQILqpH1L4fh5TaKaWkkoKomfdLVWhaoCG78dPnzyFyvydmybRoI+CqVzabwojHh vTSJuutm3J3LDdp/1jy85bMv4PoGVcO5apmTxZHBTtJ2QMDAhJ2R8u00YvRcao1an3E0 7tkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690436169; x=1691040969; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=EjWeTmshW9b7tciVrlbg2N18mlV88oSOvDpzyfZWagA=; b=C3ctJQ1pu3WyGC+Dhk5PyuOpDQIi4od2tPNb9ZmT20/EGZnygErOQVxrUD7Gc3E87A ogGv2+M2ZjTciwZTKxe+ehuQiEKW1ZPxLdf5IAQzbbiEBfTb313mmhNLJTjfVqKBIUgX oRQl4D4je6EnMfYNrRrBbc72XiyZvQd34hJ6rS5S5duAo8V+Pt491pD24HhKDr21AAs4 JroHsbQDHqbSfsV0TzwtxSTW6D6JRc6XOgDwMlPFjUj7L779G4+KkxEKceSXPtdFOaw9 lAcUIH9TvO55xw4P7EyqlV1Wyps3tQYbh58fzLAts3UHOxPBjTYIu+yq3FMNdlYNpc8G I3cw== X-Gm-Message-State: ABy/qLasFsTRk/f1+pTcKUdeuOUjQqQzc8t9bi6TLa4HnfVIvGxUejDX Uv3WY6uRmg6oIIrVx9m1FfS7rg== X-Google-Smtp-Source: APBJJlEulTZCLGODm+NAd3ecDyamscG8lGxMWhXJb0osdpupjFIb23uSf8a0n7l34ZgLYMlYZ9UGXg== X-Received: by 2002:a05:6808:1997:b0:3a4:3b56:6a4c with SMTP id bj23-20020a056808199700b003a43b566a4cmr2226626oib.50.1690436169598; Wed, 26 Jul 2023 22:36:09 -0700 (PDT) Received: from [10.0.2.15] ([82.78.167.79]) by smtp.gmail.com with ESMTPSA id n4-20020a637204000000b0054fe7736ac1sm487874pgc.76.2023.07.26.22.36.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 26 Jul 2023 22:36:09 -0700 (PDT) Message-ID: <6bea2a28-7d99-d459-d18a-182709ba027b@tuxon.dev> Date: Thu, 27 Jul 2023 08:35:59 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH 04/30] usb: ohci-at91: Remove redundant msg at probe time Content-Language: en-US To: Yangtao Li , Alan Stern , Greg Kroah-Hartman , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea Cc: linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20230726113816.888-1-frank.li@vivo.com> <20230726113816.888-4-frank.li@vivo.com> From: claudiu beznea In-Reply-To: <20230726113816.888-4-frank.li@vivo.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230726_223611_382072_CBCFAF42 X-CRM114-Status: GOOD ( 14.85 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 26.07.2023 14:37, Yangtao Li wrote: > platform_get_irq() directly prints error information. > > Signed-off-by: Yangtao Li Reviewed-by: Claudiu Beznea > --- > drivers/usb/host/ohci-at91.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/drivers/usb/host/ohci-at91.c b/drivers/usb/host/ohci-at91.c > index f957d008f360..439d8a16d7c5 100644 > --- a/drivers/usb/host/ohci-at91.c > +++ b/drivers/usb/host/ohci-at91.c > @@ -190,10 +190,8 @@ static int usb_hcd_at91_probe(const struct hc_driver *driver, > int irq; > > irq = platform_get_irq(pdev, 0); > - if (irq < 0) { > - dev_dbg(dev, "hcd probe: missing irq resource\n"); > + if (irq < 0) > return irq; > - } > > hcd = usb_create_hcd(driver, dev, "at91"); > if (!hcd) _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel