Refactor: move get pmbus access type to utility

The function to get the pmbus access type is common, move it to utility.

Signed-off-by: Lei YU <mine260309@gmail.com>
Change-Id: I26e7da044c88c1efba141349ee4c18b24cdef81f
4 files changed
tree: 5f67086cbba58be2d580b211aa111e18197fa483
  1. example/
  2. org/
  3. power-sequencer/
  4. power-supply/
  5. test/
  6. .clang-format
  7. .gitignore
  8. argument.hpp
  9. device.hpp
  10. device_monitor.hpp
  11. elog-errors.hpp
  12. file.hpp
  13. gpio.cpp
  14. gpio.hpp
  15. LICENSE
  16. MAINTAINERS
  17. meson.build
  18. meson_options.txt
  19. names_values.hpp
  20. pmbus.cpp
  21. pmbus.hpp
  22. README.md
  23. utility.cpp
  24. utility.hpp
README.md

Code for detecting and analyzing power faults on Witherspoon.

To Build

To build this package, do the following steps:

    1. meson build
    2. ninja -C build

To clean the repository again run `rm -rf build`.