Skip to content

Commit

Permalink
[SERIAL] sunzilog: Remove duplicate IRQ registry in zs_probe().
Browse files Browse the repository at this point in the history
We do it now in sunzilog_init() after all devices have been
probed.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Jul 21, 2006
1 parent 8b3c848 commit b77d35b
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions drivers/serial/sunzilog.c
Original file line number Diff line number Diff line change
Expand Up @@ -1351,16 +1351,8 @@ static int __devinit zs_probe(struct of_device *op, const struct of_device_id *m

rp = sunzilog_chip_regs[inst];

if (zilog_irq == -1) {
if (zilog_irq == -1)
zilog_irq = op->irqs[0];
err = request_irq(zilog_irq, sunzilog_interrupt, IRQF_SHARED,
"zs", sunzilog_irq_chain);
if (err) {
of_iounmap(rp, sizeof(struct zilog_layout));

return err;
}
}

up = &sunzilog_port_table[inst * 2];

Expand Down

0 comments on commit b77d35b

Please sign in to comment.