summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2008-07-25 07:35:03 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2008-07-25 07:35:03 +0200
commitc174aff95642bcc830102becb9802adeb8f87a5a (patch)
tree360ad80985487939be071bf0205cdaa5ca88155f /drivers
parentfix fs/nfs/nfsroot.c compilation (diff)
parentof-bindings: Add binding documentation for SPI busses and devices (diff)
downloadlinux-c174aff95642bcc830102becb9802adeb8f87a5a.tar.xz
linux-c174aff95642bcc830102becb9802adeb8f87a5a.zip
Merge commit 'gcl/gcl-next'
Diffstat (limited to 'drivers')
-rw-r--r--drivers/of/of_i2c.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/of/of_i2c.c b/drivers/of/of_i2c.c
index 5c015d310d4a..344e1b03dd8b 100644
--- a/drivers/of/of_i2c.c
+++ b/drivers/of/of_i2c.c
@@ -91,8 +91,6 @@ void of_register_i2c_devices(struct i2c_adapter *adap,
}
info.irq = irq_of_parse_and_map(node, 0);
- if (info.irq == NO_IRQ)
- info.irq = -1;
if (of_find_i2c_driver(node, &info) < 0) {
irq_dispose_mapping(info.irq);