Revert " added heca memory region kobject handling"

This reverts commit eba6efac38289e3ec31baa36f43d09b44ee3f983.
Revert "Cleaning up the static function change that was refactored by mistake."

This reverts commit ee7a8164504b41d7a5bdb3881953d28af572efa7.
Revert " moved from manual refcount of hproc to kobject refcounts"

This reverts commit a2cc30ad6d7b9c1631c6e8cc6cdf96aed6b3bf62.
 cleanup hproc function in order to have a better error handling