Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 16346
b: refs/heads/master
c: c9662b4
h: refs/heads/master
v: v3
  • Loading branch information
Arthur Othieno authored and Linus Torvalds committed Jan 6, 2006
1 parent 38f49c0 commit e649cc9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions 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: e13ac219816c58579f40b48220b2fa5d94c30e84
refs/heads/master: c9662b4b37f8f00a212eb4131d1d177b6ed8ddbd
7 changes: 1 addition & 6 deletions trunk/drivers/macintosh/therm_pm72.c
Original file line number Diff line number Diff line change
Expand Up @@ -1988,18 +1988,13 @@ static void fcu_lookup_fans(struct device_node *fcu_node)

static int fcu_of_probe(struct of_device* dev, const struct of_device_id *match)
{
int rc;

state = state_detached;

/* Lookup the fans in the device tree */
fcu_lookup_fans(dev->node);

/* Add the driver */
rc = i2c_add_driver(&therm_pm72_driver);
if (rc < 0)
return rc;
return 0;
return i2c_add_driver(&therm_pm72_driver);
}

static int fcu_of_remove(struct of_device* dev)
Expand Down
7 changes: 1 addition & 6 deletions trunk/drivers/macintosh/windfarm_lm75_sensor.c
Original file line number Diff line number Diff line change
Expand Up @@ -240,12 +240,7 @@ static int wf_lm75_detach(struct i2c_client *client)

static int __init wf_lm75_sensor_init(void)
{
int rc;

rc = i2c_add_driver(&wf_lm75_driver);
if (rc < 0)
return rc;
return 0;
return i2c_add_driver(&wf_lm75_driver);
}

static void __exit wf_lm75_sensor_exit(void)
Expand Down

0 comments on commit e649cc9

Please sign in to comment.