diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-06 15:59:59 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-06 15:59:59 -0500 |
commit | ccf18968b1bbc2fb117190a1984ac2a826dac228 (patch) | |
tree | 7bc8fbf5722aecf1e84fa50c31c657864cba1daa /drivers/macintosh/therm_pm72.c | |
parent | e91c021c487110386a07facd0396e6c3b7cf9c1f (diff) | |
parent | d99cf9d679a520d67f81d805b7cb91c68e1847f0 (diff) |
Merge ../torvalds-2.6/
Diffstat (limited to 'drivers/macintosh/therm_pm72.c')
-rw-r--r-- | drivers/macintosh/therm_pm72.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/macintosh/therm_pm72.c b/drivers/macintosh/therm_pm72.c index cf72b782f60f..8d0958c38b6b 100644 --- a/drivers/macintosh/therm_pm72.c +++ b/drivers/macintosh/therm_pm72.c | |||
@@ -1988,18 +1988,13 @@ static void fcu_lookup_fans(struct device_node *fcu_node) | |||
1988 | 1988 | ||
1989 | static int fcu_of_probe(struct of_device* dev, const struct of_device_id *match) | 1989 | static int fcu_of_probe(struct of_device* dev, const struct of_device_id *match) |
1990 | { | 1990 | { |
1991 | int rc; | ||
1992 | |||
1993 | state = state_detached; | 1991 | state = state_detached; |
1994 | 1992 | ||
1995 | /* Lookup the fans in the device tree */ | 1993 | /* Lookup the fans in the device tree */ |
1996 | fcu_lookup_fans(dev->node); | 1994 | fcu_lookup_fans(dev->node); |
1997 | 1995 | ||
1998 | /* Add the driver */ | 1996 | /* Add the driver */ |
1999 | rc = i2c_add_driver(&therm_pm72_driver); | 1997 | return i2c_add_driver(&therm_pm72_driver); |
2000 | if (rc < 0) | ||
2001 | return rc; | ||
2002 | return 0; | ||
2003 | } | 1998 | } |
2004 | 1999 | ||
2005 | static int fcu_of_remove(struct of_device* dev) | 2000 | static int fcu_of_remove(struct of_device* dev) |