Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

gpio: aspeed-sgpio: Remove unused bank name field

Drops the names array from the bank struct and its initializers, as it is
unused in the driver.

Reviewed-by: Linus Walleij <linusw@kernel.org>
Signed-off-by: Billy Tsai <billy_tsai@aspeedtech.com>
Link: https://lore.kernel.org/r/20260123-upstream_sgpio-v2-2-69cfd1631400@aspeedtech.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>

authored by

Billy Tsai and committed by
Bartosz Golaszewski
5928e0d1 e18533b0

-5
-5
drivers/gpio/gpio-aspeed-sgpio.c
··· 43 43 u16 rdata_reg; 44 44 u16 irq_regs; 45 45 u16 tolerance_regs; 46 - const char names[4][3]; 47 46 }; 48 47 49 48 /* ··· 58 59 .rdata_reg = 0x0070, 59 60 .irq_regs = 0x0004, 60 61 .tolerance_regs = 0x0018, 61 - .names = { "A", "B", "C", "D" }, 62 62 }, 63 63 { 64 64 .val_regs = 0x001C, 65 65 .rdata_reg = 0x0074, 66 66 .irq_regs = 0x0020, 67 67 .tolerance_regs = 0x0034, 68 - .names = { "E", "F", "G", "H" }, 69 68 }, 70 69 { 71 70 .val_regs = 0x0038, 72 71 .rdata_reg = 0x0078, 73 72 .irq_regs = 0x003C, 74 73 .tolerance_regs = 0x0050, 75 - .names = { "I", "J", "K", "L" }, 76 74 }, 77 75 { 78 76 .val_regs = 0x0090, 79 77 .rdata_reg = 0x007C, 80 78 .irq_regs = 0x0094, 81 79 .tolerance_regs = 0x00A8, 82 - .names = { "M", "N", "O", "P" }, 83 80 }, 84 81 }; 85 82