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 9563BC433F5 for ; Sat, 28 May 2022 07:37:50 +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-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=KUuCBdtgAFJGKJZIXgH9APf4r2GRU/hM4t0+S9tXOFA=; b=MW9SR2XndclFtQ HzE2UTORbVvu7owyzJsWYvZ55858KI1VVgTiUo07a/40w4xACv0xxtg9QlAhFgm69pTjL7RQWMY0w DheLsVECI1JXRwwD6f/e8CK1RTnFbeTq4GPIJ/E5QGwrjHv+v3xdwDuzgECZWSXc4Xwe6OUu+rVrF qtY1bVuEeOamRHi1qMR7RJLV3OeT4EpvilVdg1KXXOMPL278RqnhEWTzkRCQfa9cepJlJ52doFXHy A/kJjwIbMx6qgYvuCFjTGjoVOkcEHah12diH6n6nZfpM51ZSNIppKj4+leu/xSqzSAgXxGlcmK31t I0ZV1w36MxL/xNjS1/tA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nuqza-001fji-5y; Sat, 28 May 2022 07:36:10 +0000 Received: from isilmar-4.linta.de ([136.243.71.142]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nuqzX-001fiz-2R for linux-arm-kernel@lists.infradead.org; Sat, 28 May 2022 07:36:09 +0000 X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES Received: from owl.dominikbrodowski.net (owl.brodo.linta [10.2.0.111]) by isilmar-4.linta.de (Postfix) with ESMTPSA id 1E36C20000E; Sat, 28 May 2022 07:36:00 +0000 (UTC) Received: by owl.dominikbrodowski.net (Postfix, from userid 1000) id 9A242807BE; Sat, 28 May 2022 09:26:19 +0200 (CEST) Date: Sat, 28 May 2022 09:26:19 +0200 From: Dominik Brodowski To: cgel.zte@gmail.com Cc: f.fainelli@gmail.com, bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Minghao Chi , Zeal Robot Subject: Re: [PATCH] pcmcia: Use platform_get_irq() to get the interrupt Message-ID: References: <20220309053732.2081252-1-chi.minghao@zte.com.cn> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220309053732.2081252-1-chi.minghao@zte.com.cn> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220528_003607_309255_B39FD1CC X-CRM114-Status: GOOD ( 11.53 ) 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Am Wed, Mar 09, 2022 at 05:37:32AM +0000 schrieb cgel.zte@gmail.com: > From: Minghao Chi > > It is not recommened to use platform_get_resource(pdev, IORESOURCE_IRQ) > for requesting IRQ's resources any more, as they can be not ready yet in > case of DT-booting. > > platform_get_irq() instead is a recommended way for getting IRQ even if > it was not retrieved earlier. > > It also makes code simpler because we're getting "int" value right away > and no conversion from resource to int is required. > > Reported-by: Zeal Robot > Signed-off-by: Minghao Chi Applied to the pcmcia tree. Thanks, Dominik _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel