Message ID | 20230301201446.3713334-19-daniel.lezcano@linaro.org |
---|---|
State | Accepted |
Commit | 20918ccacd06eea4a4ff457bd86cae62859461a2 |
Headers | show |
Series | [v5,01/18] thermal/core: Add a thermal zone 'devdata' accessor | expand |
diff --git a/drivers/platform/x86/acerhdf.c b/drivers/platform/x86/acerhdf.c index 61f1c3090867..71b9c1f922d9 100644 --- a/drivers/platform/x86/acerhdf.c +++ b/drivers/platform/x86/acerhdf.c @@ -697,13 +697,6 @@ static int __init acerhdf_register_thermal(void) if (ret) return ret; - if (strcmp(thz_dev->governor->name, - acerhdf_zone_params.governor_name)) { - pr_err("Didn't get thermal governor %s, perhaps not compiled into thermal subsystem.\n", - acerhdf_zone_params.governor_name); - return -EINVAL; - } - return 0; }