summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
bbe24fe)
I found the commit
80183a4b
"compal-laptop/fujitsu-laptop/msi-laptop: make dmi_check_cb to return 1 instead of 0"
has wrong patch merge.
The original patch change the return value for dmi_check_cb():
https://lkml.org/lkml/2010/7/2/88
But commit
80183a4b changed the return value for set_backlight_level.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
ec_write(BACKLIGHT_LEVEL_ADDR, level);
ec_write(BACKLIGHT_LEVEL_ADDR, level);
}
static int get_backlight_level(void)
}
static int get_backlight_level(void)
printk(KERN_INFO DRIVER_NAME": Identified laptop model '%s'\n",
id->ident);
extra_features = false;
printk(KERN_INFO DRIVER_NAME": Identified laptop model '%s'\n",
id->ident);
extra_features = false;
}
static int dmi_check_cb_extra(const struct dmi_system_id *id)
}
static int dmi_check_cb_extra(const struct dmi_system_id *id)
"enabling extra features\n",
id->ident);
extra_features = true;
"enabling extra features\n",
id->ident);
extra_features = true;
}
static struct dmi_system_id __initdata compal_dmi_table[] = {
}
static struct dmi_system_id __initdata compal_dmi_table[] = {