ipmi/manualcmds: fixup style for enum
Fixup the style for the enum.
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I7eaf9337373a1f0a7d6fd0422d38364370249cf0
diff --git a/ipmi/manualcmds.cpp b/ipmi/manualcmds.cpp
index 9341d85..f376d44 100644
--- a/ipmi/manualcmds.cpp
+++ b/ipmi/manualcmds.cpp
@@ -211,11 +211,11 @@
switch (request->command)
{
- case GET_CONTROL_STATE:
+ case getControlState:
return getManualModeState(reqBuf, replyCmdBuf, dataLen);
- case SET_CONTROL_STATE:
+ case setControlState:
return setManualModeState(reqBuf, replyCmdBuf, dataLen);
- case GET_FAILSAFE_STATE:
+ case getFailsafeState:
return getFailsafeModeState(reqBuf, replyCmdBuf, dataLen);
default:
rc = IPMI_CC_INVALID;
diff --git a/ipmi/manualcmds.hpp b/ipmi/manualcmds.hpp
index ade9367..5418d60 100644
--- a/ipmi/manualcmds.hpp
+++ b/ipmi/manualcmds.hpp
@@ -9,9 +9,9 @@
enum ManualSubCmd
{
- GET_CONTROL_STATE = 0,
- SET_CONTROL_STATE = 1,
- GET_FAILSAFE_STATE = 2,
+ getControlState = 0,
+ setControlState = 1,
+ getFailsafeState = 2,
};
struct FanCtrlRequest