Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 243128
b: refs/heads/master
c: 0e4510f
h: refs/heads/master
v: v3
  • Loading branch information
Axel Lin authored and Matthew Garrett committed Mar 28, 2011
1 parent b0cbc74 commit f908430
Show file tree
Hide file tree
Showing 2 changed files with 4 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: bbe24fee22fa045a07ff7e926589ac722c7ee78d
refs/heads/master: 0e4510f7c9708304104c07e87b7e5e78fb1716d1
6 changes: 3 additions & 3 deletions trunk/drivers/platform/x86/compal-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ static int set_backlight_level(int level)

ec_write(BACKLIGHT_LEVEL_ADDR, level);

return 1;
return 0;
}

static int get_backlight_level(void)
Expand Down Expand Up @@ -763,7 +763,7 @@ static int dmi_check_cb(const struct dmi_system_id *id)
printk(KERN_INFO DRIVER_NAME": Identified laptop model '%s'\n",
id->ident);
extra_features = false;
return 0;
return 1;
}

static int dmi_check_cb_extra(const struct dmi_system_id *id)
Expand All @@ -772,7 +772,7 @@ static int dmi_check_cb_extra(const struct dmi_system_id *id)
"enabling extra features\n",
id->ident);
extra_features = true;
return 0;
return 1;
}

static struct dmi_system_id __initdata compal_dmi_table[] = {
Expand Down

0 comments on commit f908430

Please sign in to comment.