From nobody Mon Dec 15 21:25:28 2025 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 26E94281359; Fri, 16 May 2025 19:37:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747424249; cv=none; b=GImHR6r+8EfVLqmmpq2MVA3JnHOiSMcvS77mYPIqpZS5ySJkK4pvzfRL14eenU5hFhZGv0fuSr7ngE0f2Gwk7LOeIw4eXOxOMRTqKGXr0FsjFF+PYNBpY+zP8bKBgARVUAkZEe+fmPz2LxjZUr71WpKW2ck+OsZ6IOLALT8lFP0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747424249; c=relaxed/simple; bh=5uuiCxGfEFh4nsF8gcmyi93poz8DNnuKvoYUb5Y1KoM=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=bemxCqmiPbRtqh9gLLpWNseGrkYYn7NCWhOnIYN/SB5cn4igaIZgpZEzOfI2XQNN0e9MVbnLxQjn5EcwVkSY2eZup2UENWfOfjLlyuVOGZXc+sfpeW0NYDFjdqBcq6sfd8szOAQUrV3KkQThFRSYG9NIvjh9KtiIQziYMFOV9Fk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=yTa4nLrI; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=gUO52ZbB; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="yTa4nLrI"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="gUO52ZbB" Date: Fri, 16 May 2025 19:37:25 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1747424246; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Mc087CB1bq0TIIb7LIseJMb+Kp8ok6Ikp2Dgzg/mpvQ=; b=yTa4nLrIave8+fRByILq4Gm2aZnyl3mSpTT3zKRcEGFc6vIHlujR6xB6L108qKpYDa/GhT 5inmjN7hL/GRw40088jUUiOi9AuZWOHPezUuZlqXgsAeFyXAXeA/2VT1lqnbHlyyCbRnp8 zq85anVmYYHW0NYA3p4rwgNClsytb6NHGGDoUQ1ZjtlVTkFLIDY28UzeLH+f3kVcymvwBa xl/0j6lOcqsDVzLynOW98x96JjaQjAvykL74eGT7g0aa+XhAh435ziXaZm8nHRReWLc11p /ieKgSSpl3KjkEubnFs5kyuDrEpLqzrp9uSVvfPMiRB9pRpZZttjckXAdzdODg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1747424246; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Mc087CB1bq0TIIb7LIseJMb+Kp8ok6Ikp2Dgzg/mpvQ=; b=gUO52ZbBK1PNtrPpRd6SvbdEOt8mSmcxoiqO1RimI6/nVXgfm2qB/fPIAjWWNS9cbZTdNH FYTkvz8I9YhLxhAg== From: "tip-bot2 for Jiri Slaby (SUSE)" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: irq/cleanups] gpio: idt3243x: Switch to irq_find_mapping() Cc: "Jiri Slaby (SUSE)" , Thomas Gleixner , Linus Walleij , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20250319092951.37667-44-jirislaby@kernel.org> References: <20250319092951.37667-44-jirislaby@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <174742424595.406.8395178426577538878.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the irq/cleanups branch of tip: Commit-ID: 30b6692ceda0dae971e9471479285b6b2b914aee Gitweb: https://git.kernel.org/tip/30b6692ceda0dae971e9471479285b6b2= b914aee Author: Jiri Slaby (SUSE) AuthorDate: Wed, 19 Mar 2025 10:29:36 +01:00 Committer: Thomas Gleixner CommitterDate: Fri, 16 May 2025 21:06:12 +02:00 gpio: idt3243x: Switch to irq_find_mapping() irq_linear_revmap() is deprecated, so remove all its uses and supersede them by an identical call to irq_find_mapping(). [ tglx: Fix up subject prefix ] Signed-off-by: Jiri Slaby (SUSE) Signed-off-by: Thomas Gleixner Reviewed-by: Linus Walleij Link: https://lore.kernel.org/all/20250319092951.37667-44-jirislaby@kernel.= org --- drivers/gpio/gpio-idt3243x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-idt3243x.c b/drivers/gpio/gpio-idt3243x.c index 00f547d..535f255 100644 --- a/drivers/gpio/gpio-idt3243x.c +++ b/drivers/gpio/gpio-idt3243x.c @@ -37,7 +37,7 @@ static void idt_gpio_dispatch(struct irq_desc *desc) pending =3D readl(ctrl->pic + IDT_PIC_IRQ_PEND); pending &=3D ~ctrl->mask_cache; for_each_set_bit(bit, &pending, gc->ngpio) { - virq =3D irq_linear_revmap(gc->irq.domain, bit); + virq =3D irq_find_mapping(gc->irq.domain, bit); if (virq) generic_handle_irq(virq); }