Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 308952
b: refs/heads/master
c: f5f4fd4
h: refs/heads/master
v: v3
  • Loading branch information
Corentin Chary authored and Linus Torvalds committed May 29, 2012
1 parent 180114e commit f1b30cf
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6677110b748aa1fe92d039b09d34ac7f35391fb0
refs/heads/master: f5f4fd451634e5295cc807684a0eabd264b9db4d
1 change: 1 addition & 0 deletions trunk/drivers/platform/x86/toshiba_acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1104,6 +1104,7 @@ static int __devinit toshiba_acpi_add(struct acpi_device *acpi_dev)

mutex_init(&dev->mutex);

memset(&props, 0, sizeof(props));
props.type = BACKLIGHT_PLATFORM;
props.max_brightness = HCI_LCD_BRIGHTNESS_LEVELS - 1;
dev->backlight_dev = backlight_device_register("toshiba",
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/video/backlight/da903x_bl.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ static int da903x_backlight_probe(struct platform_device *pdev)
da903x_write(data->da903x_dev, DA9034_WLED_CONTROL2,
DA9034_WLED_ISET(pdata->output_current));

memset(&props, 0, sizeof(props));
props.type = BACKLIGHT_RAW;
props.max_brightness = max_brightness;
bl = backlight_device_register(pdev->name, data->da903x_dev, data,
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/video/backlight/pcf50633-backlight.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ static int __devinit pcf50633_bl_probe(struct platform_device *pdev)
if (!pcf_bl)
return -ENOMEM;

memset(&bl_props, 0, sizeof(bl_props));
bl_props.type = BACKLIGHT_RAW;
bl_props.max_brightness = 0x3f;
bl_props.power = FB_BLANK_UNBLANK;
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/video/backlight/wm831x_bl.c
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ static int wm831x_backlight_probe(struct platform_device *pdev)
data->current_brightness = 0;
data->isink_reg = isink_reg;

memset(&props, 0, sizeof(props));
props.type = BACKLIGHT_RAW;
props.max_brightness = max_isel;
bl = backlight_device_register("wm831x", &pdev->dev, data,
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/video/omap2/displays/panel-acx565akm.c
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,7 @@ static int acx_panel_probe(struct omap_dss_device *dssdev)

/*------- Backlight control --------*/

memset(&props, 0, sizeof(props));
props.fb_blank = FB_BLANK_UNBLANK;
props.power = FB_BLANK_UNBLANK;
props.type = BACKLIGHT_RAW;
Expand Down

0 comments on commit f1b30cf

Please sign in to comment.