riscv: remove @return doc for void functions
For functions returning nothing, there is no need to document with @return, as Doxgen complains about "documented empty return type of ...". Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
parent
a4de092faa
commit
61d0c3cfe7
4 changed files with 0 additions and 13 deletions
|
@ -25,8 +25,6 @@
|
||||||
* @brief Prepare to and run C code
|
* @brief Prepare to and run C code
|
||||||
*
|
*
|
||||||
* This routine prepares for the execution of and runs C code.
|
* This routine prepares for the execution of and runs C code.
|
||||||
*
|
|
||||||
* @return N/A
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void _PrepC(void)
|
void _PrepC(void)
|
||||||
|
|
|
@ -19,8 +19,6 @@
|
||||||
* This is stub function to avoid build error with CONFIG_REBOOT=y
|
* This is stub function to avoid build error with CONFIG_REBOOT=y
|
||||||
* RISC-V specification does not have a common interface for system reset.
|
* RISC-V specification does not have a common interface for system reset.
|
||||||
* Each RISC-V SoC that has reset feature should implement own reset function.
|
* Each RISC-V SoC that has reset feature should implement own reset function.
|
||||||
*
|
|
||||||
* @return N/A
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void __weak sys_arch_reboot(int type)
|
void __weak sys_arch_reboot(int type)
|
||||||
|
|
|
@ -9,14 +9,11 @@
|
||||||
#include <arch/cpu.h>
|
#include <arch/cpu.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
|
||||||
* @brief Power save idle routine
|
* @brief Power save idle routine
|
||||||
*
|
*
|
||||||
* This function will be called by the kernel idle loop or possibly within
|
* This function will be called by the kernel idle loop or possibly within
|
||||||
* an implementation of _pm_save_idle in the kernel when the
|
* an implementation of _pm_save_idle in the kernel when the
|
||||||
* '_pm_save_flag' variable is non-zero.
|
* '_pm_save_flag' variable is non-zero.
|
||||||
*
|
|
||||||
* @return N/A
|
|
||||||
*/
|
*/
|
||||||
void arch_cpu_idle(void)
|
void arch_cpu_idle(void)
|
||||||
{
|
{
|
||||||
|
|
|
@ -22,14 +22,11 @@ static ALWAYS_INLINE void riscv_idle(unsigned int key)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
|
||||||
* @brief Power save idle routine
|
* @brief Power save idle routine
|
||||||
*
|
*
|
||||||
* This function will be called by the kernel idle loop or possibly within
|
* This function will be called by the kernel idle loop or possibly within
|
||||||
* an implementation of _pm_save_idle in the kernel when the
|
* an implementation of _pm_save_idle in the kernel when the
|
||||||
* '_pm_save_flag' variable is non-zero.
|
* '_pm_save_flag' variable is non-zero.
|
||||||
*
|
|
||||||
* @return N/A
|
|
||||||
*/
|
*/
|
||||||
void arch_cpu_idle(void)
|
void arch_cpu_idle(void)
|
||||||
{
|
{
|
||||||
|
@ -37,7 +34,6 @@ void arch_cpu_idle(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
|
||||||
* @brief Atomically re-enable interrupts and enter low power mode
|
* @brief Atomically re-enable interrupts and enter low power mode
|
||||||
*
|
*
|
||||||
* INTERNAL
|
* INTERNAL
|
||||||
|
@ -50,8 +46,6 @@ void arch_cpu_idle(void)
|
||||||
*
|
*
|
||||||
* 2) After waking up from the low-power mode, the interrupt lockout state
|
* 2) After waking up from the low-power mode, the interrupt lockout state
|
||||||
* must be restored as indicated in the 'imask' input parameter.
|
* must be restored as indicated in the 'imask' input parameter.
|
||||||
*
|
|
||||||
* @return N/A
|
|
||||||
*/
|
*/
|
||||||
void arch_cpu_atomic_idle(unsigned int key)
|
void arch_cpu_atomic_idle(unsigned int key)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue