In last commit, ENODEV is a better error to report than ENOSYS.

This commit is contained in:
Gregory Nutt
2016-12-05 17:37:19 -06:00
parent d829c03656
commit e5e5467097
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -133,7 +133,7 @@ int stm32_pwm_setup(void)
return OK;
#else
return -ENOSYS;
return -ENODEV;
#endif
}
+1 -1
View File
@@ -133,7 +133,7 @@ int stm32_pwm_setup(void)
return OK;
#else
return -ENOSYS;
return -ENODEV;
#endif
}
+1 -1
View File
@@ -133,7 +133,7 @@ int stm32_pwm_setup(void)
return OK;
#else
return -ENOSYS;
return -ENODEV;
#endif
}
+1 -1
View File
@@ -131,6 +131,6 @@ int stm32_pwm_setup(void)
return OK;
#else
return -ENOSYS;
return -ENODEV;
#endif
}
+1 -1
View File
@@ -133,7 +133,7 @@ int stm32_pwm_setup(void)
return OK;
#else
return -ENOSYS;
return -ENODEV;
#endif
}