Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 20285
b: refs/heads/master
c: 41d9c98
h: refs/heads/master
i:
  20283: 50b6105
v: v3
  • Loading branch information
Jean Delvare authored and Greg Kroah-Hartman committed Feb 14, 2006
1 parent a248f65 commit b2af7b4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: be79c383254cd3eb50953d8c0a7cacdbf6db31c0
refs/heads/master: 41d9c98fe76298cebc5907bcebfb2db28017a277
12 changes: 0 additions & 12 deletions trunk/drivers/i2c/busses/i2c-isa.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,6 @@ static ssize_t show_adapter_name(struct device *dev,
}
static DEVICE_ATTR(name, S_IRUGO, show_adapter_name, NULL);

static int i2c_isa_device_probe(struct device *dev)
{
return -ENODEV;
}

static int i2c_isa_device_remove(struct device *dev)
{
return 0;
}


/* We implement an interface which resembles i2c_{add,del}_driver,
but for i2c-isa drivers. We don't have to remember and handle lists
Expand All @@ -93,8 +83,6 @@ int i2c_isa_add_driver(struct i2c_driver *driver)

/* Add the driver to the list of i2c drivers in the driver core */
driver->driver.bus = &i2c_bus_type;
driver->driver.probe = i2c_isa_device_probe;
driver->driver.remove = i2c_isa_device_remove;
res = driver_register(&driver->driver);
if (res)
return res;
Expand Down

0 comments on commit b2af7b4

Please sign in to comment.