Fixed indent; add host storagemap returns device from function