Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 259700
b: refs/heads/master
c: 6a8ca6f
h: refs/heads/master
v: v3
  • Loading branch information
Alan Cox authored and Greg Kroah-Hartman committed Jul 5, 2011
1 parent 168c9bc commit 779f16f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: a11c3ec7e9565bd8aad41a151b1d05c271d859e9
refs/heads/master: 6a8ca6f5ffbca4ef92da34bd28465539c511b97e
7 changes: 4 additions & 3 deletions trunk/drivers/staging/gma500/backlight.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@ void gma_backlight_exit(struct drm_device *dev)
{
#ifdef CONFIG_BACKLIGHT_CLASS_DEVICE
struct drm_psb_private *dev_priv = dev->dev_private;
dev_priv->backlight_device->props.brightness = 0;
backlight_update_status(dev_priv->backlight_device);
if (dev_priv->backlight_device)
if (dev_priv->backlight_device) {
dev_priv->backlight_device->props.brightness = 0;
backlight_update_status(dev_priv->backlight_device);
backlight_device_unregister(dev_priv->backlight_device);
}
#endif
}

0 comments on commit 779f16f

Please sign in to comment.