From patchwork Tue Dec 21 17:53:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Prabhakar X-Patchwork-Id: 12697013 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 72E01C433F5 for ; Tue, 21 Dec 2021 18:06:10 +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:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:Subject:Cc:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=bCpMSGYov5UnN9ipKYaOVrrm5swO7W5JrlaqXqoBJ1M=; b=enZoOQpVKClfVk eZklyvVQDMgfrNWOyadtX+XpZvWz5W/mwtLSLPJGKoaE9SPr2/2/PZnm3re96ckk6PBlV/ylg7Hcp Qr/VERXPm2m/MG6BnHmOIgxY0roFZhJuk4LZ2HgfZCDcH5TkMFK9ZGd53c+HqZ9av38hjxHZoG73p qqxZ+ykELemgK/TILaJqKPW0Zh+mxoDOEPXfcJ7R07Ur+u15NyngIlPjK86CU8AXI8kaJw+pd9rML hT6XJkYWviYOAj0k9mbNXr6Ms8vxQ52OtQTuUwJtxNs3pwDNUSFH4hgcgK44TFbXz+AdUYL7N8Lrv v4P2DR2qUR7dBmMlRIEw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mzjV2-007zIs-EC; Tue, 21 Dec 2021 18:04:33 +0000 Received: from relmlor2.renesas.com ([210.160.252.172] helo=relmlie6.idc.renesas.com) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mzjKP-007wy8-1M; Tue, 21 Dec 2021 17:53:34 +0000 X-IronPort-AV: E=Sophos;i="5.88,224,1635174000"; d="scan'208";a="104728781" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie6.idc.renesas.com with ESMTP; 22 Dec 2021 02:53:28 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id A303440C95EF; Wed, 22 Dec 2021 02:53:25 +0900 (JST) From: Lad Prabhakar To: Florian Fainelli , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, Nicolas Saenz Julienne , Chris Brandt , Wolfram Sang , linux-i2c@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-renesas-soc@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Prabhakarprabhakar.csengg@gmail.com, Lad Prabhakar Subject: [PATCH v2 0/3] i2c/busses: Use platform_get_irq/_optional() variants to fetch IRQ's Date: Tue, 21 Dec 2021 17:53:19 +0000 Message-Id: <20211221175322.7096-1-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211221_095333_231241_86204923 X-CRM114-Status: UNSURE ( 6.66 ) X-CRM114-Notice: Please train this message. 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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi All, This patch series aims to drop using platform_get_resource() for IRQ types in preparation for removal of static setup of IRQ resource from DT core code. Dropping usage of platform_get_resource() was agreed based on the discussion [0]. [0] https://patchwork.kernel.org/project/linux-renesas-soc/ patch/20211209001056.29774-1-prabhakar.mahadev-lad.rj@bp.renesas.com/ Cheers, Prabhakar Lad Prabhakar (3): i2c: bcm2835: Use platform_get_irq() to get the interrupt i2c: sh_mobile: Use platform_get_irq_optional() to get the interrupt i2c: riic: Use platform_get_irq() to get the interrupt drivers/i2c/busses/i2c-bcm2835.c | 11 ++++------ drivers/i2c/busses/i2c-riic.c | 10 ++++----- drivers/i2c/busses/i2c-sh_mobile.c | 34 +++++++++++++++++++++++------- 3 files changed, 35 insertions(+), 20 deletions(-)