From e5e54670973bbebe270abab046842dd651fe3443 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 5 Dec 2016 17:37:19 -0600 Subject: [PATCH] In last commit, ENODEV is a better error to report than ENOSYS. --- configs/mikroe-stm32f4/src/stm32_pwm.c | 2 +- configs/stm32f103-minimum/src/stm32_pwm.c | 2 +- configs/stm32f3discovery/src/stm32_pwm.c | 2 +- configs/stm32f4discovery/src/stm32_pwm.c | 2 +- configs/stm32ldiscovery/src/stm32_pwm.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/configs/mikroe-stm32f4/src/stm32_pwm.c b/configs/mikroe-stm32f4/src/stm32_pwm.c index bad3819dd00..2ef8d6c9e63 100644 --- a/configs/mikroe-stm32f4/src/stm32_pwm.c +++ b/configs/mikroe-stm32f4/src/stm32_pwm.c @@ -133,7 +133,7 @@ int stm32_pwm_setup(void) return OK; #else - return -ENOSYS; + return -ENODEV; #endif } diff --git a/configs/stm32f103-minimum/src/stm32_pwm.c b/configs/stm32f103-minimum/src/stm32_pwm.c index 8f7e99f839f..5248e489219 100644 --- a/configs/stm32f103-minimum/src/stm32_pwm.c +++ b/configs/stm32f103-minimum/src/stm32_pwm.c @@ -133,7 +133,7 @@ int stm32_pwm_setup(void) return OK; #else - return -ENOSYS; + return -ENODEV; #endif } diff --git a/configs/stm32f3discovery/src/stm32_pwm.c b/configs/stm32f3discovery/src/stm32_pwm.c index 5eb075c51d3..262c1bc851a 100644 --- a/configs/stm32f3discovery/src/stm32_pwm.c +++ b/configs/stm32f3discovery/src/stm32_pwm.c @@ -133,7 +133,7 @@ int stm32_pwm_setup(void) return OK; #else - return -ENOSYS; + return -ENODEV; #endif } diff --git a/configs/stm32f4discovery/src/stm32_pwm.c b/configs/stm32f4discovery/src/stm32_pwm.c index 0eaefc93718..1b8468d2bb8 100644 --- a/configs/stm32f4discovery/src/stm32_pwm.c +++ b/configs/stm32f4discovery/src/stm32_pwm.c @@ -131,6 +131,6 @@ int stm32_pwm_setup(void) return OK; #else - return -ENOSYS; + return -ENODEV; #endif } diff --git a/configs/stm32ldiscovery/src/stm32_pwm.c b/configs/stm32ldiscovery/src/stm32_pwm.c index 3409fccc8eb..908307565ce 100644 --- a/configs/stm32ldiscovery/src/stm32_pwm.c +++ b/configs/stm32ldiscovery/src/stm32_pwm.c @@ -133,7 +133,7 @@ int stm32_pwm_setup(void) return OK; #else - return -ENOSYS; + return -ENODEV; #endif }