Return values are NULL, however it's mentioned as OK and ERROR, Correct the same
Signed-off-by: pradeep.ns <pradeep.ns@samsung.com>
* sem - A reference to the incremented semaphore
*
* Return Value:
- * 0 (OK) or -1 (ERROR) if unsuccessful
+ * None
*
* Assumptions:
* Interrupts are disabled.
* Name: sem_addholder
*
* Description:
- * Called from sem_wait() when the calling thread obtains the semaphore
+ * Called from sem_wait() or sem_trywait() when the calling thread
+ * obtains the semaphore
*
* Parameters:
* sem - A reference to the incremented semaphore
*
* Return Value:
- * 0 (OK) or -1 (ERROR) if unsuccessful
+ * None
*
* Assumptions:
* Interrupts are disabled.
* None
*
* Return Value:
- * 0 (OK) or -1 (ERROR) if unsuccessful
+ * None
*
* Assumptions:
*