Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3120825rdg; Tue, 17 Oct 2023 05:28:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFI3ZOelOjsQN3HLsKCekkAtB1G3rRoHXWUsRvLQqmpv3+f48l8FdlX8Iogv5xZ7j7vfy8G X-Received: by 2002:a17:90b:3749:b0:27d:882f:e6c5 with SMTP id ne9-20020a17090b374900b0027d882fe6c5mr1853205pjb.9.1697545702243; Tue, 17 Oct 2023 05:28:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697545702; cv=none; d=google.com; s=arc-20160816; b=VOfaMHqrosTlCNo/Q8wSj9/98q2iLc0fKNJ/31QI9JRi8EmNTMSMxmYpySGHkgfCL0 JjVTGu+qsplqbLWytnpJnBcq/rxgh7VgKs6G/fRs50aF5aQqpddEZLui2EKmN7KFV/ia 7hDrr0P1j/40neMWMrrs0Nj/PL8gorvrTTtulcm/1W+upxulx5t2rX/eHhAzCzGE3xo9 hrQyiaQz958fuAgQBiN5Kn9HouyeI6NMDEC0L0HixFU5izY1G29oETETfC/D9UaMHjoD rzORJiRhpqVtSwgtOD12lpx1T6sYlPj3QfFPnYX7jLKoZ/JN86wQGTizvHHX0Po3MTlQ 0EBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=oIvH93b/sWVIbaT25hdzz+hqN4HWpQnfh8o78oWByr4=; fh=zjs2vdE+YWjY+IMpZrMUmyi66uuYe/Vv4hvfH7yTnvI=; b=wDpYwtBgxoPnY4jj7c5gnHdjEgLjVMwo+VeBkmBSuvArkpAuk+gmXMRdxeU0vI5b+c HQuOevxmviymos7j/N5ZvTaqYDlEdm0oM7LtOQGF3PAy0pXLciZxX4ZXqbdeoTkrBXop 4PbPqPVlKz2DmSZUzmdnUrQFD02Xq69x8O4IWazcCq+KBdA1Wj27/hmUnH1f3c0Lwni3 E9hggQq2vkGs9kEtMF4BepHV7ghFLWa30cbpOSQl0CVqUXAG5ww0aGzd76ydhFTSkzoe qPHsc/Gu4PcE//5KouDqk76YCDT1dx69ONU9vHcfUuFxpPxqNMJ7Pi4XQAtcXmkuMIB1 K/PQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=H6b8btTW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id pf8-20020a17090b1d8800b0027d60ad5caesi1674171pjb.110.2023.10.17.05.28.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 05:28:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=H6b8btTW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id E3C46801CEE4; Tue, 17 Oct 2023 05:28:19 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343522AbjJQM14 (ORCPT + 99 others); Tue, 17 Oct 2023 08:27:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232763AbjJQM1z (ORCPT ); Tue, 17 Oct 2023 08:27:55 -0400 Received: from mail-pg1-x533.google.com (mail-pg1-x533.google.com [IPv6:2607:f8b0:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F254A13A for ; Tue, 17 Oct 2023 05:27:53 -0700 (PDT) Received: by mail-pg1-x533.google.com with SMTP id 41be03b00d2f7-578b4981526so3328867a12.0 for ; Tue, 17 Oct 2023 05:27:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697545673; x=1698150473; 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=oIvH93b/sWVIbaT25hdzz+hqN4HWpQnfh8o78oWByr4=; b=H6b8btTW7AKlTGeCKfxtf195fNCmTGTWyh9yQgop5cwrm+nZiHNqAFDvjric98l+1K 19Y79jsfaBCZq9vJfadtQzDRVu4ZBIl3rVMFS5lUhyH7sUFUQDMp+djpS1CCEdNym0Uo GzpujMIhOP5GHQW519IJvrmaCsD6WEs4MMlZpiD30lm7nCHRDg7TBOUjD8TKdJY96Xzy svXci8JC7LPTf6XezShAFBLLNkBbReuTj/hqAjC31u8l7HpPPgS3Fe7NfWiIcNzHLM6Q DoMNtG/3SrgDhvvL4jsSBhUuziT1+MywNOzHB8frNnwbq5Lu9KJLDfMHOHWaqyRZUzgV 42gA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697545673; x=1698150473; 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=oIvH93b/sWVIbaT25hdzz+hqN4HWpQnfh8o78oWByr4=; b=N8BGugYBF8463syuJjynxV9T/2pqnfLNcpuOmAqh5GIIDbOKAJ9uQGHxUH/C8NeU98 ecLRyJlaZ8H1i8k1TaxSQ/xMGwPe7XaDdhtNy3lEa3mv2mT5E0X9pEgO/pCMD2D0qTE0 2r5viQroBb6QrHeT3Wc9ysvTQM8iDyAtks4iflFyvEPVgQsIUhkMq2x74kQOrnSqm/yk kx912PwgSMR/Q9fGb5C7q/UC/5TlIyHeE/ONdLY0zm+Hs4+Ct1PipoXfrElZ4thXGY1X YN02iw8CIdOHbYrDBGf70IYQRIF6sEJY54Oq+NItc0o3ib/AK5tgDESosrGxG6OR0Dpc o6Ag== X-Gm-Message-State: AOJu0YxNBdA40jrqmvw+uLOzCGafqVjeBNus3e5CZ9NbGIf9cOy8O0w2 6YKT6gZhlLBKCc9kQA+595yUwkkTit0n9vx1 X-Received: by 2002:a05:6a21:1a5:b0:154:d3ac:2076 with SMTP id le37-20020a056a2101a500b00154d3ac2076mr2166222pzb.40.1697545672936; Tue, 17 Oct 2023 05:27:52 -0700 (PDT) Received: from kelvin-System-Product-Name.lan ([112.45.97.252]) by smtp.gmail.com with ESMTPSA id l18-20020a170902d35200b001c9d235b3a0sm1406193plk.7.2023.10.17.05.27.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 05:27:52 -0700 (PDT) From: Keguang Zhang To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev Cc: Thomas Gleixner , Marc Zyngier , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Keguang Zhang Subject: [PATCH] irqchip: Drop the custom fixes for the same irq_chip name Date: Tue, 17 Oct 2023 20:27:18 +0800 Message-Id: <20231017122718.5062-1-keguang.zhang@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Tue, 17 Oct 2023 05:28:20 -0700 (PDT) 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. 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: 4d0515b235dec789578d135a5db586b25c5870cb -- 2.39.2