Clean up codes
This commit cleans up codes to follow coding style and conventions
of OpenBMC.
Change-Id: Ib2a9b2589b839db6eb0f31b392b3fa54aef3a8c6
Signed-off-by: Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com>
diff --git a/include/Thresholds.hpp b/include/Thresholds.hpp
index 1a6f752..4a07ca2 100644
--- a/include/Thresholds.hpp
+++ b/include/Thresholds.hpp
@@ -30,19 +30,19 @@
bool asserted = false;
};
-bool ParseThresholdsFromConfig(
+bool parseThresholdsFromConfig(
const SensorData &sensorData,
std::vector<thresholds::Threshold> &thresholdVector,
const std::string *matchLabel = nullptr);
-bool ParseThresholdsFromAttr(std::vector<thresholds::Threshold> &thresholds,
- const std::string &input_path,
- const double &scale_factor);
-bool HasCriticalInterface(
- const std::vector<thresholds::Threshold> &threshold_vector);
+bool parseThresholdsFromAttr(std::vector<thresholds::Threshold> &thresholds,
+ const std::string &inputPath,
+ const double &scaleFactor);
+bool hasCriticalInterface(
+ const std::vector<thresholds::Threshold> &thresholdVector);
-bool HasWarningInterface(
- const std::vector<thresholds::Threshold> &threshold_vector);
+bool hasWarningInterface(
+ const std::vector<thresholds::Threshold> &thresholdVector);
void persistThreshold(const std::string &baseInterface, const std::string &path,
const thresholds::Threshold &threshold,