From nobody Mon Oct 6 17:04:31 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 2F82D72613; Fri, 18 Jul 2025 14:49: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=1752850171; cv=none; b=gDKTohBTptuxPkvt79rnhXRY3aTrXPTeZWqEcp6GUaWeEmvFaFadPS2O/7gvKYlTvwJVQT/uFbWn+RIaQImADK48R91GMYDJpKtyVxYVmCKddRG6PJzScRvnYlbjQ6o23yXiMA0EuMwe75Iw1fU0GBob1bXmVEIwy27CkEf3fMs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752850171; c=relaxed/simple; bh=34zuXSrp5CVnEfNCyOkmX6NEe1lwc0XDTMVU4OqDgH4=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=RJGgu0iMga3+2jPlVG8RglpzpwZNbSt6jd4r2zAFOOBf3Qe/ZYr+YBDlTN1Bji2Nwjp3LFpEHBoK16z4I7cow6NjNop8n/GoBCTWU/O0Ht/RcuZg5FeV6bhtVe5z2+V2w6NMxZIDb+MGpqFoiXs2GOuBRS91pRxzE5ZRr0ITsbY= 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=NqHQmA3j; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=KmQrVCNR; 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="NqHQmA3j"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="KmQrVCNR" Date: Fri, 18 Jul 2025 14:49:25 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1752850167; 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=+TlQKhs1OuBAOC41pUc00PRo164vkvpdcXDXF2g0txY=; b=NqHQmA3jTwjJK5f7fOZcRrAXHxJzWtbBXYTgvjCR2DiP5DAMhrrLydwoip8gqhxPiZ0C8l S0yaIt0ymUGF0Fguyg0uEbFrXogri6HxR3++huXM7nGhxlW+dfF9H9KmGEuC58SdmrKlQe OXIhyj5NY8C9/oFxdUyhoCeKuIHxt4XjoYHX1DDXDD1i3X/X3wlmhP6lkybD1LJz1d5KWF XvObh3US7QWHCYLIs945guKoZYi4JDxUtXi8GpW5+smdW7LudbfQZexQU4OrwZxDgmdCF7 iC5FrmjkelddJn50alMSEMK+JgfWssCkQ4aUuzUOSR46HHG9VOqdhZ63Z2s9Ig== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1752850167; 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=+TlQKhs1OuBAOC41pUc00PRo164vkvpdcXDXF2g0txY=; b=KmQrVCNRb5Jk+oRNLuqsCg5mg1scQv4OxhZWO4XWzSZKbUVvEgbRKlsfDD/gjAD51cJILe YQFUbUZbf/qBGNDQ== From: "tip-bot2 for Geert Uytterhoeven" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: irq/drivers] irqchip/renesas-intc-irqpin: Convert to DEFINE_SIMPLE_DEV_PM_OPS() Cc: Geert Uytterhoeven , Thomas Gleixner , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: =?utf-8?q?=3C865e5274cc516d8c345048330a46e753e2bda677=2E17520?= =?utf-8?q?86656=2Egit=2Egeert+renesas=40glider=2Ebe=3E?= References: =?utf-8?q?=3C865e5274cc516d8c345048330a46e753e2bda677=2E175208?= =?utf-8?q?6656=2Egit=2Egeert+renesas=40glider=2Ebe=3E?= Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <175285016598.406.5305761030544097334.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/drivers branch of tip: Commit-ID: bc398dc4f3677ca381d5b64f8e55005131e68650 Gitweb: https://git.kernel.org/tip/bc398dc4f3677ca381d5b64f8e5500513= 1e68650 Author: Geert Uytterhoeven AuthorDate: Wed, 09 Jul 2025 20:45:01 +02:00 Committer: Thomas Gleixner CommitterDate: Fri, 18 Jul 2025 16:46:09 +02:00 irqchip/renesas-intc-irqpin: Convert to DEFINE_SIMPLE_DEV_PM_OPS() Convert the Renesas INTC External IRQ Pin driver from SIMPLE_DEV_PM_OPS() to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr(). This allows to drop the __maybe_unused annotations from its suspend callbacks, and reduces kernel size in case CONFIG_PM or CONFIG_PM_SLEEP is disabled. Signed-off-by: Geert Uytterhoeven Signed-off-by: Thomas Gleixner Link: https://lore.kernel.org/all/865e5274cc516d8c345048330a46e753e2bda677.= 1752086656.git.geert+renesas@glider.be --- drivers/irqchip/irq-renesas-intc-irqpin.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/irqchip/irq-renesas-intc-irqpin.c b/drivers/irqchip/ir= q-renesas-intc-irqpin.c index 117b74b..7951292 100644 --- a/drivers/irqchip/irq-renesas-intc-irqpin.c +++ b/drivers/irqchip/irq-renesas-intc-irqpin.c @@ -570,7 +570,7 @@ static void intc_irqpin_remove(struct platform_device *= pdev) pm_runtime_disable(&pdev->dev); } =20 -static int __maybe_unused intc_irqpin_suspend(struct device *dev) +static int intc_irqpin_suspend(struct device *dev) { struct intc_irqpin_priv *p =3D dev_get_drvdata(dev); =20 @@ -580,7 +580,7 @@ static int __maybe_unused intc_irqpin_suspend(struct de= vice *dev) return 0; } =20 -static SIMPLE_DEV_PM_OPS(intc_irqpin_pm_ops, intc_irqpin_suspend, NULL); +static DEFINE_SIMPLE_DEV_PM_OPS(intc_irqpin_pm_ops, intc_irqpin_suspend, N= ULL); =20 static struct platform_driver intc_irqpin_device_driver =3D { .probe =3D intc_irqpin_probe, @@ -588,7 +588,7 @@ static struct platform_driver intc_irqpin_device_driver= =3D { .driver =3D { .name =3D "renesas_intc_irqpin", .of_match_table =3D intc_irqpin_dt_ids, - .pm =3D &intc_irqpin_pm_ops, + .pm =3D pm_sleep_ptr(&intc_irqpin_pm_ops), } };