hardware: exynos5: update libexynosutils dir

Change-Id: I1ea6d1cac561b026b8597f918290d1f13b86a419
Signed-off-by: Dima Zavin <dima@android.com>
diff --git a/libexynosutils/ExynosMutex.h b/libexynosutils/ExynosMutex.h
index d2f346e..6ce7a2a 100644
--- a/libexynosutils/ExynosMutex.h
+++ b/libexynosutils/ExynosMutex.h
@@ -26,19 +26,6 @@
  *
  */
 
-/**
- * @page ExynosMutex
- *
- * @section Introduction
- * ExynosMutex is for locking and making thread-safe operation
- *
- * @section Copyright
- *  Copyright (c) 2008-2011 Samsung Electronics Co., Ltd.All rights reserved. \n
- *  Proprietary and Confidential
- *
- * @image html samsung.png
- */
-
 #ifndef __EXYNOS_MUTEX_H__
 #define __EXYNOS_MUTEX_H__
 
@@ -58,18 +45,22 @@
         TYPE_MAX,
     };
 
-    enum STATUS {
-        STATUS_NOT_CREATED = 0,
-        STATUS_CREATED
-    };
-
 public:
-    //! Constructor
-    ExynosMutex(int type, char* name);
+    //! Constructor.
+    ExynosMutex();
 
     //! Destructor
     virtual ~ExynosMutex();
 
+    //! Create Mutex
+    bool create(int type, char* name);
+
+    //! Destroy Mutex
+    void destroy(void);
+
+    //! Get Mutex created status
+    bool getCreatedStatus(void);
+
     //! Lock Mutex
     bool lock(void);
 
@@ -82,11 +73,9 @@
     //! Get Mutex type
     int getType(void);
 
-    //! Get Mutex created status
-    int getCreatedStatus(void);
-
 private:
     void *m_mutex;
+    bool  m_flagCreate;
 
     int   m_type;
     char  m_name[128];
@@ -121,11 +110,6 @@
     EXYNOS_MUTEX_TYPE_MAX,
 };
 
-enum EXYNOS_MUTEX_STATUS {
-    EXYNOS_MUTEX_STATUS_NOT_CREATED = 0,
-    EXYNOS_MUTEX_STATUS_CREATED
-};
-
 void *exynos_mutex_create(
     int   type,
     char *name);
@@ -145,7 +129,7 @@
 int exynos_mutex_type(
     void *handle);
 
-int exynos_mutex_get_created_status(
+bool exynos_mutex_get_created_status(
     void *handle);
 
 #ifdef __cplusplus