livedisplay: Minor code cleanup

* Don't set display mode in constructor, this is handled by
  the backend when we don't have any non-backend handled modes
* Move delete[] tmp[i].name outside of the loop, since it needs
  to be deleted whether or not we get anything from the backend

Change-Id: I3ecac94a0affdbf9b587074879aa9a00ca8587c9
2 files changed
tree: 9c00327b2c41a771038411476c7ba9ba3d43a31c
  1. legacymm/
  2. sdm/
  3. .clang-format