summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-07-19 21:04:04 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-07-21 14:18:22 -0700
commitb77d35b7229164304d6fb8f047b9bcd3da2c9592 (patch)
treeabc1aeef78696312d4eba710292de7330776d42f /drivers
parent8b3c848cc89e62904e6d9c8f9fed13d5c225572d (diff)
downloadop-kernel-dev-b77d35b7229164304d6fb8f047b9bcd3da2c9592.zip
op-kernel-dev-b77d35b7229164304d6fb8f047b9bcd3da2c9592.tar.gz
[SERIAL] sunzilog: Remove duplicate IRQ registry in zs_probe().
We do it now in sunzilog_init() after all devices have been probed. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/serial/sunzilog.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/drivers/serial/sunzilog.c b/drivers/serial/sunzilog.c
index 496810c..18df10f 100644
--- a/drivers/serial/sunzilog.c
+++ b/drivers/serial/sunzilog.c
@@ -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];
OpenPOWER on IntegriCloud