Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2936687lqp; Mon, 25 Mar 2024 13:42:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUosQkfP89uHA8tXSqgFDqfpe5vy9RYyD06WLhSoRSmqjIbBuAu1TGfKcby1Pm0F4s12+usSwDEQWNew2VJo6sNlRA0YrbPxDoFZvN4IQ== X-Google-Smtp-Source: AGHT+IHDEBJdd9WN866kZwizAGNE7vETqmwRUq+EjN5rW2ZABqjUVH48DhLRKGxl2nFusrbLp6Ay X-Received: by 2002:a05:6870:2398:b0:22a:5610:d1cb with SMTP id e24-20020a056870239800b0022a5610d1cbmr1790690oap.56.1711399349400; Mon, 25 Mar 2024 13:42:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711399349; cv=pass; d=google.com; s=arc-20160816; b=JLa/N6/VxehPyWoH9kLPIpgYVuSltACOADZQ4m0oqRUzHFhPWAnpAe569P99VgBEl7 Dl/DXDFLcTvtB2dXOF8A6CYwqZlQhFMTxHGVSBgQ0dSdmE01qZWLeYu0yz8PTnj1DPaX KaKj66s9wh9ziW9A/AyFxetLFZ1pRdQCuzO2ASjvpkCkFAWWIrHt9UGWC4Rl9fbu9kmT NdHPSIhFg5l7mN6wBP0iAuKWrW+xTezhfFNa+iNCiiqcU+uKLLc9x48Nqb1/AQeoj/bL kFANQmE8i/Hkl3IOdaXmDcoSVW7PpG4tJQgEAVeyGkvla9hlp1/2R96wZsOGRMNtuUfT O0vg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:precedence:robot-unsubscribe:robot-id :message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:references:in-reply-to:cc:subject:to:reply-to:sender :from:dkim-signature:dkim-signature:date; bh=8oGyPYB12iPe/M3pX5cTbA0bbTqJtN0I3MIfdCpjHi8=; fh=S5TanxIYYDDYWEWWEq7cTnGoktH1k5ENAtrDyfTVsqM=; b=qYXsD/tlMB0DYZmuc0ngVqQyv7Z0Ey9OiOJdAFi8hRWbL3/50axfe78oc4O2LPQmCj UUlSqfy5b+GB1hDE5NnM5qwEeZe03FA6/Xpr0cqDEdPqvGHZZE2n+kqiEicvoSCJtTlk ZUNIRucsgPSQi/z9pPBQ/pvQOBECCF1HuEDE78+HEqGSZ8EPd/0LkksXaWctizDxMa2c aUiFZy+qdejPoD0INdSPdOASOTnLG9sIyiXTI1AgjfH1Vg8Wd1zOaaaCMiY6tZJXU5en slG8KV8+7O+6EzxKiZG/xiT7FmHKq5UAFVLWQ8SDAvtSfD556Iam1FJhOD/tO2pJrn3C vZeg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=w3YQm72s; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-117495-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117495-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id i11-20020a63584b000000b005dc4202b409si7726740pgm.212.2024.03.25.13.42.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 13:42:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-117495-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=w3YQm72s; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-117495-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117495-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 36E80C640D5 for ; Mon, 25 Mar 2024 17:40:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BD222149E0C; Mon, 25 Mar 2024 16:46:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="w3YQm72s"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="ZEK9NZ1D" 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 4FEFB73191; Mon, 25 Mar 2024 16:46:47 +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=1711385209; cv=none; b=HqTFbugxhrJvf3H/qKwW6sKhNZWXZ5GW5/zq+ISWxN3ho0k0VoafqjbG6aW617zYhw7jR3W83DodwH/Qi11z6FeUDcaDNaAM+goh6jjzxUx7Ust2Ori+RNIaav6GFvlk8+zbdavOcVI4fwD7zSttEoIJdgvg50e9+Zc9cIwwlco= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711385209; c=relaxed/simple; bh=QAv4BR/jdL59PUXbsTS1P4f8I0AkQZMIvuLv4hNp+Zc=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=FQliUzFY1RCUV+b7YayZh8jwMta/aNWi9ApM9sZrAZkQ5NpCmg2mAJDKmxqIq5th5xhDUeCXR4NbBbr7jx+ngY+cbxjPnWUzjdQe+NOL7o7kUHVJXlG2sjUcUKQHggSMzJ3eRTzoYGOHMHRZRKVUdUi3gwM6dBNcOGeRjkskjc0= 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=w3YQm72s; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=ZEK9NZ1D; 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 Date: Mon, 25 Mar 2024 16:46:45 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1711385206; 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=8oGyPYB12iPe/M3pX5cTbA0bbTqJtN0I3MIfdCpjHi8=; b=w3YQm72s46l6gjReatH4igTZQ9vB1uCDIUB0dfOR3CqGUCw/zVEjbG6sjxeBpobiCjdsg3 dWQoxmboroQsyfqKNoNn3olXFYJtevfDwIUIo/GrhxG4gEnd9NxYBOBZx8KFs2t2BXdvjr 9fTFYIeJI4VyWb8LYmuiGPGwxN3GrrsHwJJZ2mvOPtdm3aB3nvBSCXI+WdAfj+qqnzFcby Oxk80gd18+eHxIS4dugOnyP1c/QOKEEPivCiQ+DhIXkiswbYVtNE8R53X8Fma+4HOf0eRh 87jAubPn7fOGdKmDITwb8xEFu+TMcWQO9PPgxsJSuuW17+8p6K/BpLoTJ7KNGg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1711385206; 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=8oGyPYB12iPe/M3pX5cTbA0bbTqJtN0I3MIfdCpjHi8=; b=ZEK9NZ1D55DcDfnrGYLrh7WqkSkTnKvv/m4tV79RRV6oSsspczNvtktDcaeNz7cqprxt8G 3B0OjmAW7uAKGGAw== From: "tip-bot2 for Keguang Zhang" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: irq/core] irqchip: Remove redundant irq_chip::name initialization Cc: Keguang Zhang , Thomas Gleixner , Jernej Skrabec , x86@kernel.org, linux-kernel@vger.kernel.org, maz@kernel.org In-Reply-To: <20240311115344.72567-1-keguang.zhang@gmail.com> References: <20240311115344.72567-1-keguang.zhang@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <171138520530.10875.4664771902622983668.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: 7bit The following commit has been merged into the irq/core branch of tip: Commit-ID: 7b6f0f278d02de5a8f49202465c6427b56c97545 Gitweb: https://git.kernel.org/tip/7b6f0f278d02de5a8f49202465c6427b56c97545 Author: Keguang Zhang AuthorDate: Mon, 11 Mar 2024 19:53:44 +08:00 Committer: Thomas Gleixner CommitterDate: Mon, 25 Mar 2024 17:38:29 +01:00 irqchip: Remove redundant irq_chip::name initialization Since commit 021a8ca2ba23 ("genirq/generic-chip: Fix the irq_chip name for /proc/interrupts"), the chip name of all chip types are set to the same name by irq_init_generic_chip() now. So the initialization to the same irq_chip name are no longer needed. Drop them. Signed-off-by: Keguang Zhang Signed-off-by: Thomas Gleixner Acked-by: Jernej Skrabec Link: https://lore.kernel.org/r/20240311115344.72567-1-keguang.zhang@gmail.com --- drivers/irqchip/irq-sunxi-nmi.c | 1 - drivers/irqchip/irq-tb10x.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/irqchip/irq-sunxi-nmi.c b/drivers/irqchip/irq-sunxi-nmi.c index e760b12..bb92fd8 100644 --- a/drivers/irqchip/irq-sunxi-nmi.c +++ b/drivers/irqchip/irq-sunxi-nmi.c @@ -192,7 +192,6 @@ static int __init sunxi_sc_nmi_irq_init(struct device_node *node, gc->chip_types[0].regs.type = reg_offs->ctrl; gc->chip_types[1].type = IRQ_TYPE_EDGE_BOTH; - gc->chip_types[1].chip.name = gc->chip_types[0].chip.name; gc->chip_types[1].chip.irq_ack = irq_gc_ack_set_bit; gc->chip_types[1].chip.irq_mask = irq_gc_mask_clr_bit; gc->chip_types[1].chip.irq_unmask = irq_gc_mask_set_bit; diff --git a/drivers/irqchip/irq-tb10x.c b/drivers/irqchip/irq-tb10x.c index 6805863..d59bfbe 100644 --- a/drivers/irqchip/irq-tb10x.c +++ b/drivers/irqchip/irq-tb10x.c @@ -150,7 +150,6 @@ static int __init of_tb10x_init_irq(struct device_node *ictl, gc->chip_types[0].regs.mask = AB_IRQCTL_INT_ENABLE; gc->chip_types[1].type = IRQ_TYPE_EDGE_BOTH; - gc->chip_types[1].chip.name = gc->chip_types[0].chip.name; gc->chip_types[1].chip.irq_ack = irq_gc_ack_set_bit; gc->chip_types[1].chip.irq_mask = irq_gc_mask_clr_bit; gc->chip_types[1].chip.irq_unmask = irq_gc_mask_set_bit;