mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-11-02 19:28:18 +00:00
Merge pull request #527 from brandonchuang/as4610_54t_b
[as4610] Fix error while loading fan driver on fanless devices
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user