Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41013
b: refs/heads/master
c: a6cd2d9
h: refs/heads/master
i:
  41011: ed33328
v: v3
  • Loading branch information
Alexey Dobriyan authored and Linus Torvalds committed Nov 20, 2006
1 parent 2003abe commit 9e93972
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: dfbc9e9d33adb1ac9910dd7f8ceb911947039a52
refs/heads/master: a6cd2d94e1072a5756b5e5ab647d3223cba7e555
3 changes: 2 additions & 1 deletion trunk/drivers/i2c/busses/i2c-ixp4xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ static int ixp4xx_i2c_probe(struct platform_device *plat_dev)
gpio_line_set(gpio->scl_pin, 0);
gpio_line_set(gpio->sda_pin, 0);

if ((err = i2c_bit_add_bus(&drv_data->adapter) != 0)) {
err = i2c_bit_add_bus(&drv_data->adapter);
if (err != 0)
printk(KERN_ERR "ERROR: Could not install %s\n", plat_dev->dev.bus_id);

kfree(drv_data);
Expand Down

0 comments on commit 9e93972

Please sign in to comment.