control: Rename Timer -> TimerConf
It is confusing to read some of the type definitions that deal with
timers when Timer could mean a timer instantiation or a set of timer
configuration parameters. This change disambiguates the two types.
Tested:
Built and run through unit tests.
Change-Id: I9dd6b47886747d56a86b6a50eb9a74a331d0a1fe
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/control/actions.cpp b/control/actions.cpp
index 71f7f72..923b1cc 100644
--- a/control/actions.cpp
+++ b/control/actions.cpp
@@ -11,7 +11,8 @@
using namespace phosphor::fan;
-Action call_actions_based_on_timer(Timer&& tConf, std::vector<Action>&& actions)
+Action call_actions_based_on_timer(TimerConf&& tConf,
+ std::vector<Action>&& actions)
{
return [tConf = std::move(tConf),
actions = std::move(actions)](control::Zone& zone,