Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp348573lql; Mon, 11 Mar 2024 04:54:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWRPP0HVG+7qkIujZLteeXcJj3sfhp7rj8rXvutlJL4+pvcN4uvIdn4VA1R2+vGW7jNqcstWb1y71JMY9RZicJSoPEnJ2H3iftNNUFejA== X-Google-Smtp-Source: AGHT+IFIn+3KzaBtLHe7+vYm7FaUicq+us4X+rTPHu5jEBg3OCRsID4soWsaVkiLRRFjH/qOfWWd X-Received: by 2002:a05:620a:b0d:b0:788:50bc:2ba7 with SMTP id t13-20020a05620a0b0d00b0078850bc2ba7mr6300148qkg.21.1710158050820; Mon, 11 Mar 2024 04:54:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710158050; cv=pass; d=google.com; s=arc-20160816; b=fcHOGbNfeaAUvo0kDyKZ8bC82oiV3QZomkjBekLGbhTPE5umrPEcBJXcPkZSUdBHho fEkM0FUjxmpXK3jxCUTOzQWxFWGxl9I0vCEZOUwF9uhkOWc95to48hum/0V1PzMI+1Ix DG0uhsHz5FSE+ZsEA/U+M4b/4mR7wbXOYqiqRh6PszYKi5B3Ndh0NKZKe5+GfoAhLa7G SkyRZny1elT8+kyJkoMsqaY4EolE3+Hinj/lthfeExysEYbH2f+pK1ckalp8dUk6Dyve 0Xcf3pPk3xQtO2IJ1rdVQR2GVUDPy7KGLomsTLRgVqWKK/7pUDHGkgesKKirrteBFI5h 4NRA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=UPNazQlGmkQf9hVivO3Ny38z32q6y/PMgomiFB9Ohpo=; fh=3yQ2aCLif18DZK2Yo8JOtfVsjzJvgEPUs1cCQBmFQiA=; b=tiTCCF5Lg+XV+5yoFyIGzdXbYRPPC3SGlHmEAWXZGCos9NOhjf/cKiWfIau7dKqaD3 RhqhENacVzRqutapjdwhiraiqsIQ04New7xcRzSCOtPORfbSb6qfUFmUE3ekKAoaWqDm p4MTAmD0Ct6iBk5v/V8r1dxDk5OBEhEnMT4CPTLxQ2mlOvvI9fnc2KW1MWynCu+o3zHN 6Fa7BWI+HVG6BhswXpunTDp6MAxlxGDSrY/lUPiSPn93qO9pLhITpcbcCut4qH8DFaJV zB+zY8gnNIldmeOHmenJmYV9rFiTNC9q6e6q6Zc9f1JRCQicO6/VSCLHWu1rX4OJc/kF mbcA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=QAiuxXTE; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-98783-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98783-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id t4-20020a05620a004400b00787e0210eb4si5156972qkt.181.2024.03.11.04.54.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 04:54:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-98783-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=QAiuxXTE; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-98783-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98783-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 8C4171C2186F for ; Mon, 11 Mar 2024 11:54:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E9F523BB29; Mon, 11 Mar 2024 11:54:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="QAiuxXTE" Received: from mail-pl1-f179.google.com (mail-pl1-f179.google.com [209.85.214.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CC2B438394 for ; Mon, 11 Mar 2024 11:54:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710158045; cv=none; b=EhUR0kDpI+bMe+ya2M4gf6CT/Mn0daNH/yeebqV9mpilc0IEogWiRqCUzmg32ihutgOf/q7IKYvMSD21SvXFBvTtFMS7WXhXm+tosHxi9McWXLvn73ZnZwv8331IoFICy+uky2Ggbyjy2C/+ePmWss1+8RXTwQIGnYetm0kD0L8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710158045; c=relaxed/simple; bh=PVtpCKCkBtvEJIf9crFa+TlWcqX/82F7MF/jC7ddjwM=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=dzN6nLWDWelyC4DfsQ/ltxp/fzWi5T2/HV0ai6QVz66nZRAv9ksfDBd826o5BpDKS83wUfkDLcJMuC1UevHLiMX7bD3UNGGvvGL0dvdqwgjdAThoLhf3+4zGT6VGGzxGl7S3/0DIDlwBbpoLFgD1sF8FOiLeVmJCJJMgKuj8D58= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=QAiuxXTE; arc=none smtp.client-ip=209.85.214.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pl1-f179.google.com with SMTP id d9443c01a7336-1dd9b6098aeso6887335ad.0 for ; Mon, 11 Mar 2024 04:54:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710158043; x=1710762843; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=UPNazQlGmkQf9hVivO3Ny38z32q6y/PMgomiFB9Ohpo=; b=QAiuxXTEO3POtQxNlMwqmp/6NvlOWeqCaHJIEvHFuQdZgUkfF+c8J0o8qtiOQKlSik YRj23Z29hUiIis6KkUvF3zK73jATvaYreeIdflJLuARanKm54cGQivwNweE8UL61pa0/ +U66RpMQ2IR427mqwbUvB6NgfqE8i+MDk18ObgD9BldEcvFdFQO3ANBiFm1iCaayscIp G5+nHAo+ObySG1a0dHHWHdtiYEijji4DycWR/czV6Kd7CrSseRyxKsyAix8SEMlx6DDz 50loOSul49zzW3cLccF0QeOAKXUZfIzjvipGVNoNQ8q493cJUrSG5hIueyZnHCSqAu1f tECQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710158043; x=1710762843; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=UPNazQlGmkQf9hVivO3Ny38z32q6y/PMgomiFB9Ohpo=; b=KdGsfKAdtjg8atU7iT9iqqmnOe8EXVXi1G8Ptdah7R2YE3496apyT3xVbZMF2PdaDI VDS6N2/44yRrL7VfhiQO8QhPx8int++GMkHbAZvWgev0+6rPIahpaw+2FMoWziH9y9dF evcQDAADYsGTQWvpg9Z3rLf5gc7axhPBhAA2a60+5o1al7zkpRGT2aTqVRStHGCSRWlF aaYYwdL+RE/Xb89stNVmDiE52uqoFPmFElbsQ7aYJwB0LmGHQey2cMza0vGCcUTZbjR6 nl/tdJjS+MsmyeRPdWgJmRgXlJ4rFmdKG+Ns9HY0Os56K/wEuuTN/OowBu8f0GWvqk/Z lB4Q== X-Gm-Message-State: AOJu0YwCUjmfO3GxHxlx+ysaRp9+3189pv7onK/d8MPqoQKSh/Cgiydk aDik5xGHbsinCakGvfZ8L5GvIyTJKXvJ5VLhhtfLrc9i4oJrtt2kOkZSy76Ki3Z6qg== X-Received: by 2002:a17:902:ec87:b0:1dd:96de:83c3 with SMTP id x7-20020a170902ec8700b001dd96de83c3mr4092124plg.11.1710158043030; Mon, 11 Mar 2024 04:54:03 -0700 (PDT) Received: from kelvin-ThinkPad-L14-Gen-1.lan ([203.145.41.11]) by smtp.gmail.com with ESMTPSA id x8-20020a170902a38800b001dd6958833esm4627682pla.242.2024.03.11.04.54.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 04:54:02 -0700 (PDT) From: Keguang Zhang To: Thomas Gleixner , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, Keguang Zhang Subject: [PATCH RESEND] irqchip: Drop the custom fixes for the same irq_chip name Date: Mon, 11 Mar 2024 19:53:44 +0800 Message-Id: <20240311115344.72567-1-keguang.zhang@gmail.com> X-Mailer: git-send-email 2.40.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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. Those custom fixes for the same irq_chip name are no longer needed. So drop them. Acked-by: Jernej Skrabec Signed-off-by: Keguang Zhang --- 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 e760b1278143..bb92fd85e975 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 680586354d12..d59bfbe8c6d0 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; base-commit: 8ffc8b1bbd505e27e2c8439d326b6059c906c9dd -- 2.40.1