diff options
Diffstat (limited to 'drivers/macintosh/windfarm_smu_sat.c')
-rw-r--r-- | drivers/macintosh/windfarm_smu_sat.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/macintosh/windfarm_smu_sat.c b/drivers/macintosh/windfarm_smu_sat.c index aceb61d9fbc8..83f79de7174b 100644 --- a/drivers/macintosh/windfarm_smu_sat.c +++ b/drivers/macintosh/windfarm_smu_sat.c | |||
@@ -397,12 +397,7 @@ static int wf_sat_detach(struct i2c_client *client) | |||
397 | 397 | ||
398 | static int __init sat_sensors_init(void) | 398 | static int __init sat_sensors_init(void) |
399 | { | 399 | { |
400 | int err; | 400 | return i2c_add_driver(&wf_sat_driver); |
401 | |||
402 | err = i2c_add_driver(&wf_sat_driver); | ||
403 | if (err < 0) | ||
404 | return err; | ||
405 | return 0; | ||
406 | } | 401 | } |
407 | 402 | ||
408 | static void __exit sat_sensors_exit(void) | 403 | static void __exit sat_sensors_exit(void) |