From nobody Mon Feb 9 13:57:49 2026 Received: from TWMBX01.aspeed.com (mail.aspeedtech.com [211.20.114.72]) (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 5701A354AE7; Fri, 23 Jan 2026 09:26:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=211.20.114.72 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769160410; cv=none; b=SehqFMTvvZbx+c+QbF0MJ7jABvvhtLEIXB/DTYIpDGZ3CmV/mtmxoyYVuE4LbwcLutAtcsuuZMWAKut5R1ipEuKXzPHBm3QygACPRthfhWhiRR3bo/q92vCzYSKhF388l+OCVmapxEv01AdONeb369Tpa1lejwWUCn597RXmGZc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769160410; c=relaxed/simple; bh=wq9nW1jVro6VbeJ8h0mIqtAis/vwp9TjCPIxWOSBwOI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=HxpohYQn8ed17DCJ/xr0koHFHRytOOldfK2HnP6ztFgd1MgVPwFPKXuNRUmBKZ4Xbx/Jpf2eqmE7YVa4rvmw3fS7nE2ztIPZi8qccP3BmCCNoFtWyoYeF70S5SgprbAlHi17CgWF+ZmPT4Rfn1HMF/meqnpc4evKJSoEe7WoMaI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=aspeedtech.com; spf=pass smtp.mailfrom=aspeedtech.com; arc=none smtp.client-ip=211.20.114.72 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=aspeedtech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=aspeedtech.com Received: from TWMBX01.aspeed.com (192.168.0.62) by TWMBX01.aspeed.com (192.168.0.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1748.10; Fri, 23 Jan 2026 17:26:26 +0800 Received: from [127.0.1.1] (192.168.10.13) by TWMBX01.aspeed.com (192.168.0.62) with Microsoft SMTP Server id 15.2.1748.10 via Frontend Transport; Fri, 23 Jan 2026 17:26:26 +0800 From: Billy Tsai Date: Fri, 23 Jan 2026 17:26:27 +0800 Subject: [PATCH v2 2/6] gpio: aspeed-sgpio: Remove unused bank name field Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-ID: <20260123-upstream_sgpio-v2-2-69cfd1631400@aspeedtech.com> References: <20260123-upstream_sgpio-v2-0-69cfd1631400@aspeedtech.com> In-Reply-To: <20260123-upstream_sgpio-v2-0-69cfd1631400@aspeedtech.com> To: Linus Walleij , Bartosz Golaszewski , Joel Stanley , Andrew Jeffery , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: , , , , "Andrew Jeffery" , , , Billy Tsai X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1769160386; l=1327; i=billy_tsai@aspeedtech.com; s=20251118; h=from:subject:message-id; bh=wq9nW1jVro6VbeJ8h0mIqtAis/vwp9TjCPIxWOSBwOI=; b=YC9UInze1Bq7V+AeVOJPr9VhTHhX2yJDKM/ZG0zONoIDK+mvEveIiX4wTrP4BEdrd5OhEcCIj NdxYKnFKt9TCSaNByioCJ1UngylgmFMsaNFYivrP/D/Yo7N9Gt/NNhW X-Developer-Key: i=billy_tsai@aspeedtech.com; a=ed25519; pk=/A8qvgZ6CPfnwKgT6/+k+nvXOkN477MshEGJvVdzeeQ= Drops the names array from the bank struct and its initializers, as it is unused in the driver. Reviewed-by: Linus Walleij Signed-off-by: Billy Tsai --- drivers/gpio/gpio-aspeed-sgpio.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/gpio/gpio-aspeed-sgpio.c b/drivers/gpio/gpio-aspeed-sg= pio.c index 318cd0e39741..a96ed6d8a55d 100644 --- a/drivers/gpio/gpio-aspeed-sgpio.c +++ b/drivers/gpio/gpio-aspeed-sgpio.c @@ -43,7 +43,6 @@ struct aspeed_sgpio_bank { u16 rdata_reg; u16 irq_regs; u16 tolerance_regs; - const char names[4][3]; }; =20 /* @@ -59,28 +58,24 @@ static const struct aspeed_sgpio_bank aspeed_sgpio_bank= s[] =3D { .rdata_reg =3D 0x0070, .irq_regs =3D 0x0004, .tolerance_regs =3D 0x0018, - .names =3D { "A", "B", "C", "D" }, }, { .val_regs =3D 0x001C, .rdata_reg =3D 0x0074, .irq_regs =3D 0x0020, .tolerance_regs =3D 0x0034, - .names =3D { "E", "F", "G", "H" }, }, { .val_regs =3D 0x0038, .rdata_reg =3D 0x0078, .irq_regs =3D 0x003C, .tolerance_regs =3D 0x0050, - .names =3D { "I", "J", "K", "L" }, }, { .val_regs =3D 0x0090, .rdata_reg =3D 0x007C, .irq_regs =3D 0x0094, .tolerance_regs =3D 0x00A8, - .names =3D { "M", "N", "O", "P" }, }, }; =20 --=20 2.34.1