Merge pull request #527 from brandonchuang/as4610_54t_b

[as4610] Fix error while loading fan driver on fanless devices
This commit is contained in:
Jeffrey Townsend
2019-03-06 11:35:35 -08:00
committed by GitHub

View File

@@ -327,7 +327,7 @@ static int __init as4610_fan_init(void)
int ret;
if (as4610_number_of_system_fan() == 0) {
return -ENODEV;
return 0;
}
ret = platform_driver_register(&as4610_fan_driver);