Skip to content

Commit d1ea13c

Browse files
committed
genirq: Cleanup irq_chip->typename leftovers
3 years transition phase is enough. Cleanup the last users and remove the cruft. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Leo Chen <leochen@broadcom.com> Cc: Hirokazu Takata <takata@linux-m32r.org> Cc: Chris Metcalf <cmetcalf@tilera.com> Cc: Jeff Dike <jdike@addtoit.com> Cc: Chris Zankel <chris@zankel.net>
1 parent a800c7c commit d1ea13c

15 files changed

Lines changed: 24 additions & 32 deletions

File tree

‎arch/arm/mach-bcmring/irq.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,21 +67,21 @@ static void bcmring_unmask_irq2(unsigned int irq)
6767
}
6868

6969
static struct irq_chip bcmring_irq0_chip = {
70-
.typename = "ARM-INTC0",
70+
.name = "ARM-INTC0",
7171
.ack = bcmring_mask_irq0,
7272
.mask = bcmring_mask_irq0, /* mask a specific interrupt, blocking its delivery. */
7373
.unmask = bcmring_unmask_irq0, /* unmaks an interrupt */
7474
};
7575

7676
static struct irq_chip bcmring_irq1_chip = {
77-
.typename = "ARM-INTC1",
77+
.name = "ARM-INTC1",
7878
.ack = bcmring_mask_irq1,
7979
.mask = bcmring_mask_irq1,
8080
.unmask = bcmring_unmask_irq1,
8181
};
8282

8383
static struct irq_chip bcmring_irq2_chip = {
84-
.typename = "ARM-SINTC",
84+
.name = "ARM-SINTC",
8585
.ack = bcmring_mask_irq2,
8686
.mask = bcmring_mask_irq2,
8787
.unmask = bcmring_unmask_irq2,

‎arch/m32r/kernel/irq.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ int show_interrupts(struct seq_file *p, void *v)
5151
for_each_online_cpu(j)
5252
seq_printf(p, "%10u ", kstat_irqs_cpu(i, j));
5353
#endif
54-
seq_printf(p, " %14s", irq_desc[i].chip->typename);
54+
seq_printf(p, " %14s", irq_desc[i].chip->name);
5555
seq_printf(p, " %s", action->name);
5656

5757
for (action=action->next; action; action = action->next)

‎arch/m32r/platforms/m32104ut/setup.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ static void shutdown_m32104ut_irq(unsigned int irq)
6565

6666
static struct irq_chip m32104ut_irq_type =
6767
{
68-
.typename = "M32104UT-IRQ",
68+
.name = "M32104UT-IRQ",
6969
.startup = startup_m32104ut_irq,
7070
.shutdown = shutdown_m32104ut_irq,
7171
.enable = enable_m32104ut_irq,

‎arch/m32r/platforms/m32700ut/setup.c‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ static void shutdown_m32700ut_irq(unsigned int irq)
7171

7272
static struct irq_chip m32700ut_irq_type =
7373
{
74-
.typename = "M32700UT-IRQ",
74+
.name = "M32700UT-IRQ",
7575
.startup = startup_m32700ut_irq,
7676
.shutdown = shutdown_m32700ut_irq,
7777
.enable = enable_m32700ut_irq,
@@ -148,7 +148,7 @@ static void shutdown_m32700ut_pld_irq(unsigned int irq)
148148

149149
static struct irq_chip m32700ut_pld_irq_type =
150150
{
151-
.typename = "M32700UT-PLD-IRQ",
151+
.name = "M32700UT-PLD-IRQ",
152152
.startup = startup_m32700ut_pld_irq,
153153
.shutdown = shutdown_m32700ut_pld_irq,
154154
.enable = enable_m32700ut_pld_irq,
@@ -217,7 +217,7 @@ static void shutdown_m32700ut_lanpld_irq(unsigned int irq)
217217

218218
static struct irq_chip m32700ut_lanpld_irq_type =
219219
{
220-
.typename = "M32700UT-PLD-LAN-IRQ",
220+
.name = "M32700UT-PLD-LAN-IRQ",
221221
.startup = startup_m32700ut_lanpld_irq,
222222
.shutdown = shutdown_m32700ut_lanpld_irq,
223223
.enable = enable_m32700ut_lanpld_irq,
@@ -286,7 +286,7 @@ static void shutdown_m32700ut_lcdpld_irq(unsigned int irq)
286286

287287
static struct irq_chip m32700ut_lcdpld_irq_type =
288288
{
289-
.typename = "M32700UT-PLD-LCD-IRQ",
289+
.name = "M32700UT-PLD-LCD-IRQ",
290290
.startup = startup_m32700ut_lcdpld_irq,
291291
.shutdown = shutdown_m32700ut_lcdpld_irq,
292292
.enable = enable_m32700ut_lcdpld_irq,

‎arch/m32r/platforms/mappi/setup.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ static void shutdown_mappi_irq(unsigned int irq)
6565

6666
static struct irq_chip mappi_irq_type =
6767
{
68-
.typename = "MAPPI-IRQ",
68+
.name = "MAPPI-IRQ",
6969
.startup = startup_mappi_irq,
7070
.shutdown = shutdown_mappi_irq,
7171
.enable = enable_mappi_irq,

‎arch/m32r/platforms/mappi2/setup.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ static void shutdown_mappi2_irq(unsigned int irq)
7272

7373
static struct irq_chip mappi2_irq_type =
7474
{
75-
.typename = "MAPPI2-IRQ",
75+
.name = "MAPPI2-IRQ",
7676
.startup = startup_mappi2_irq,
7777
.shutdown = shutdown_mappi2_irq,
7878
.enable = enable_mappi2_irq,

‎arch/m32r/platforms/mappi3/setup.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ static void shutdown_mappi3_irq(unsigned int irq)
7272

7373
static struct irq_chip mappi3_irq_type =
7474
{
75-
.typename = "MAPPI3-IRQ",
75+
.name = "MAPPI3-IRQ",
7676
.startup = startup_mappi3_irq,
7777
.shutdown = shutdown_mappi3_irq,
7878
.enable = enable_mappi3_irq,

‎arch/m32r/platforms/oaks32r/setup.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ static void shutdown_oaks32r_irq(unsigned int irq)
6363

6464
static struct irq_chip oaks32r_irq_type =
6565
{
66-
.typename = "OAKS32R-IRQ",
66+
.name = "OAKS32R-IRQ",
6767
.startup = startup_oaks32r_irq,
6868
.shutdown = shutdown_oaks32r_irq,
6969
.enable = enable_oaks32r_irq,

‎arch/m32r/platforms/opsput/setup.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ static void shutdown_opsput_irq(unsigned int irq)
7272

7373
static struct irq_chip opsput_irq_type =
7474
{
75-
.typename = "OPSPUT-IRQ",
75+
.name = "OPSPUT-IRQ",
7676
.startup = startup_opsput_irq,
7777
.shutdown = shutdown_opsput_irq,
7878
.enable = enable_opsput_irq,
@@ -149,7 +149,7 @@ static void shutdown_opsput_pld_irq(unsigned int irq)
149149

150150
static struct irq_chip opsput_pld_irq_type =
151151
{
152-
.typename = "OPSPUT-PLD-IRQ",
152+
.name = "OPSPUT-PLD-IRQ",
153153
.startup = startup_opsput_pld_irq,
154154
.shutdown = shutdown_opsput_pld_irq,
155155
.enable = enable_opsput_pld_irq,
@@ -218,7 +218,7 @@ static void shutdown_opsput_lanpld_irq(unsigned int irq)
218218

219219
static struct irq_chip opsput_lanpld_irq_type =
220220
{
221-
.typename = "OPSPUT-PLD-LAN-IRQ",
221+
.name = "OPSPUT-PLD-LAN-IRQ",
222222
.startup = startup_opsput_lanpld_irq,
223223
.shutdown = shutdown_opsput_lanpld_irq,
224224
.enable = enable_opsput_lanpld_irq,

‎arch/m32r/platforms/usrv/setup.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ static void shutdown_mappi_irq(unsigned int irq)
6363

6464
static struct irq_chip mappi_irq_type =
6565
{
66-
.typename = "M32700-IRQ",
66+
.name = "M32700-IRQ",
6767
.startup = startup_mappi_irq,
6868
.shutdown = shutdown_mappi_irq,
6969
.enable = enable_mappi_irq,
@@ -136,7 +136,7 @@ static void shutdown_m32700ut_pld_irq(unsigned int irq)
136136

137137
static struct irq_chip m32700ut_pld_irq_type =
138138
{
139-
.typename = "USRV-PLD-IRQ",
139+
.name = "USRV-PLD-IRQ",
140140
.startup = startup_m32700ut_pld_irq,
141141
.shutdown = shutdown_m32700ut_pld_irq,
142142
.enable = enable_m32700ut_pld_irq,

0 commit comments

Comments
 (0)