From nobody Tue Dec 16 06:15:50 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 56B4222DF84; Wed, 7 May 2025 07:58:06 +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=1746604689; cv=none; b=KOY4zE8xVR83b69eBq5FijdHsSP5BJRCN0qVrEAiNipShPKqR/lBsQ+894K4DTFx1G5H0fxoKRdd8c/ozD3XgVEgGYzkrYf/ApoR0/T5jgUVvaOJ03PN9z0UZJ82PZcOwvFjYVVAfcxeoKUdLFxRww57SbrFv5izrk8mten8K/c= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746604689; c=relaxed/simple; bh=r+L1H9Xaaqk1RUAy+xfg/ZkD9sVHA2w5me5cmB1sMFI=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=Bd2XMclqzFgI7udNeTe9ikzFDRPtMuE5AAyfThxYZ1rj8wL9rveg0xb/dcZcnWTbOxDrJiGMt2ApM0TxVhP1Nb85s2Qu5WMRaDUgrIFRXZV5giPznMCtArGiMPju5KkcshQwboNebQeQsh9owoiMCHSh5A/GrMDDrqHByWyso5w= 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=rj2e9TXH; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=qszJp0yS; 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="rj2e9TXH"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="qszJp0yS" Date: Wed, 07 May 2025 07:58:04 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1746604685; 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=2NN35M9DUuTyS73d19CD5gF2VN+/bsqIvAuWlHHhq7s=; b=rj2e9TXHTCJc3OmwcG9R5B7vXInfPFKZ5BjQNziTOj16OtDDXUX/wujSl4Ef6AmR2kfGaw Soj5ne3sOgZX6IiIR5499f7qyE6hl8mmRyAFSV3n1rC671w4GkEwH+96PXiSKuQBhSsB7/ qz8Jq53lugR5Mqv8Tli4AHQ7Jen21W6zUaLO9iU5MvHJw+jmwAin5JCIELYDYCkAeAOrBP w+kogq8ORySOg9qdnfXSZG23urRR5KI5S+6Pymo7KwRyTTgJx3v8sqJJFcX0HINRS3fkr0 U/A9Om6F+UwcZTOii1RToCs+8OnY1Ch/etUIB3PTJYQOcs/2ekMJbQp+UHHp/g== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1746604685; 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=2NN35M9DUuTyS73d19CD5gF2VN+/bsqIvAuWlHHhq7s=; b=qszJp0ySQqBfatq3eiO8kk/BOLsyTpqxA01Sttc2CvruFud7LCOxzX8E3zMAXfRdOFDoag zZyYxCb2D6KTqHAw== 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] misc: hi6421-spmi-pmic: Switch to irq_domain_create_simple() Cc: "Jiri Slaby (SUSE)" , Thomas Gleixner , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20250319092951.37667-27-jirislaby@kernel.org> References: <20250319092951.37667-27-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: <174660468465.406.16203652900581735313.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: a77cf24fe19c8f54f4845697caf74e4d9499b489 Gitweb: https://git.kernel.org/tip/a77cf24fe19c8f54f4845697caf74e4d9= 499b489 Author: Jiri Slaby (SUSE) AuthorDate: Wed, 19 Mar 2025 10:29:19 +01:00 Committer: Thomas Gleixner CommitterDate: Wed, 07 May 2025 09:53:23 +02:00 misc: hi6421-spmi-pmic: Switch to irq_domain_create_simple() irq_domain_add_simple() is going away as being obsolete now. Switch to the preferred irq_domain_create_simple(). That differs in the first parameter: It takes more generic struct fwnode_handle instead of struct device_node. Therefore, of_fwnode_handle() is added around the parameter. Note some of the users can likely use dev->fwnode directly instead of indirect of_fwnode_handle(dev->of_node). But dev->fwnode is not guaranteed to be set for all, so this has to be investigated on case to case basis (by people who can actually test with the HW). [ tglx: Fix up subject prefix ] Signed-off-by: Jiri Slaby (SUSE) Signed-off-by: Thomas Gleixner Link: https://lore.kernel.org/all/20250319092951.37667-27-jirislaby@kernel.= org --- drivers/misc/hi6421v600-irq.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/misc/hi6421v600-irq.c b/drivers/misc/hi6421v600-irq.c index 69ee4f3..187c5bc 100644 --- a/drivers/misc/hi6421v600-irq.c +++ b/drivers/misc/hi6421v600-irq.c @@ -254,8 +254,9 @@ static int hi6421v600_irq_probe(struct platform_device = *pdev) if (!priv->irqs) return -ENOMEM; =20 - priv->domain =3D irq_domain_add_simple(np, PMIC_IRQ_LIST_MAX, 0, - &hi6421v600_domain_ops, priv); + priv->domain =3D irq_domain_create_simple(of_fwnode_handle(np), + PMIC_IRQ_LIST_MAX, 0, + &hi6421v600_domain_ops, priv); if (!priv->domain) { dev_err(dev, "Failed to create IRQ domain\n"); return -ENODEV;