phosphor-hwmon: Fix unit escaping

We aren't correctly escaping all of the specical characters based on the
systemd spec for unit name escaping. systemd provides a utility to do
this reliably, so use that instead of a custom implementation.

Change-Id: Iaaa79b65858495ace1ff72a2d1a662fe318c117f
Signed-off-by: William A. Kennington III <wak@google.com>
1 file changed
tree: 3f156cba95a28cb1e3cfaf2b3a2f31eac5e23b70
  1. aspeed-layer/
  2. classes/
  3. conf/
  4. nuvoton-layer/
  5. raspberrypi/
  6. recipes-connectivity/
  7. recipes-core/
  8. recipes-devtools/
  9. recipes-extended/
  10. recipes-graphics/
  11. recipes-phosphor/
  12. recipes-protocols/
  13. recipes-support/
  14. recipes-textproc/
  15. recipes-x86/
  16. COPYING.apache-2.0
  17. COPYING.MIT
  18. LICENSE
  19. MAINTAINERS
  20. README.md
  21. recipes.txt
README.md

OpenBMC

meta-phosphor is the OpenBMC layer. This layer should be included for all OpenBMC systems. The OpenBMC layer contains content which is shared between all OpenBMC systems.