Fix dmi check logic
This commit is contained in:
parent
5a6b7b4f12
commit
54937b8592
|
|
@ -279,7 +279,7 @@ static struct dmi_system_id s76_dmi_table[] __initdata = {
|
||||||
MODULE_DEVICE_TABLE(dmi, s76_dmi_table);
|
MODULE_DEVICE_TABLE(dmi, s76_dmi_table);
|
||||||
|
|
||||||
static int __init s76_init(void) {
|
static int __init s76_init(void) {
|
||||||
if (!dmi_check_system(s76_dmi_table) > 0) {
|
if (!dmi_check_system(s76_dmi_table)) {
|
||||||
S76_INFO("Model does not utilize this driver");
|
S76_INFO("Model does not utilize this driver");
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue