Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141923
b: refs/heads/master
c: 350e329
h: refs/heads/master
i:
  141921: f72acbd
  141919: 810cae6
v: v3
  • Loading branch information
Andy Whitcroft authored and Len Brown committed Apr 4, 2009
1 parent 947657a commit f178dcd
Show file tree
Hide file tree
Showing 2 changed files with 8 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: a74dd5fdabcd34c93e17e9c7024eeb503c92b048
refs/heads/master: 350e32907cf72ef82bbe7d72525fa2d9dcf64682
8 changes: 7 additions & 1 deletion trunk/drivers/platform/x86/acer-wmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1136,11 +1136,17 @@ static int __devinit acer_platform_probe(struct platform_device *device)
}

err = acer_rfkill_init(&device->dev);
if (err)
goto error_rfkill;

return err;

error_rfkill:
if (has_cap(ACER_CAP_BRIGHTNESS))
acer_backlight_exit();
error_brightness:
acer_led_exit();
if (has_cap(ACER_CAP_MAILLED))
acer_led_exit();
error_mailled:
return err;
}
Expand Down

0 comments on commit f178dcd

Please sign in to comment.