Remove the ReturnCode class
It was over-engineered and no longer needed.
Change-Id: Iac337f8c8bf1e1a376a1fbc44fc053ec02c76542
Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
diff --git a/src/register/hei_hardware_register.hpp b/src/register/hei_hardware_register.hpp
index d8edfd8..cc3cf76 100644
--- a/src/register/hei_hardware_register.hpp
+++ b/src/register/hei_hardware_register.hpp
@@ -156,7 +156,7 @@
* read from hardware and update the cache.
* @return See the return code from the registerRead() user interface API.
*/
- ReturnCode read(const Chip& i_chip, bool i_force = false) const;
+ bool read(const Chip& i_chip, bool i_force = false) const;
#ifndef __HEI_READ_ONLY
@@ -166,7 +166,7 @@
* @param i_chip The target chip in which this register belongs.
* @return See the return code from the registerWrite() user interface API.
*/
- ReturnCode write(const Chip& i_chip) const;
+ bool write(const Chip& i_chip) const;
#endif // __HEI_READ_ONLY