pass: thermal: Correct thermal action names 00/206800/1
authorDongwoo Lee <dwoo08.lee@samsung.com>
Mon, 27 May 2019 07:07:05 +0000 (16:07 +0900)
committerDongwoo Lee <dwoo08.lee@samsung.com>
Mon, 27 May 2019 08:13:45 +0000 (17:13 +0900)
This patch correct thermal action names in comments in order to match
into previous changes.

Change-Id: I7931ddc9dc42bf364cb9f020741d063402004c33
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
scripts/pass-thermal.conf
src/thermal/thermal-parser.c
src/thermal/thermal.c
src/thermal/thermal.h

index bc0c656..f15ad2c 100644 (file)
@@ -6,7 +6,7 @@ thermal_number_of_scenario=4
 
 # describe the scenario section as follows
 #[Scenario0]
-#name=ReleaseAction
+#name=Release
 #support=yes
 [thermal.scenario0]
 name=Release
index 7dfdaf1..58df42e 100644 (file)
@@ -23,8 +23,8 @@
  * @brief      Parse the supported thermal scenario information from
  *             /etc/pass/pass-thermal.conf configuration.
  *             - /etc/pass/pass-thermal.conf contains the list and information
- *             for supported thermal scenarios. For example, ReleaseAction,
- *             WarningAction, LimitAction and ShutdownAction.
+ *             for supported thermal scenarios. For example, Release,
+ *             Warning, LimitAction and Shutdown.
  * @ingroup    COM_POWER_MGNT
  */
 
@@ -113,7 +113,7 @@ static int thermal_parse_scenario(struct parse_result *result, void *user_data,
 
 /**
  * @brief      Parse configuration to get information of supported scenarios
- *             for Thermal Monitor such as ReleaseAction, WarningAction.
+ *             for Thermal Monitor such as Release, Warning.
  * @param      [in] result Parsed raw data from configuration
  * @param      [in] user_data Instance for each scenario
  * @return     @c 0 on success, otherwise error value
index 76207c3..cf823f5 100644 (file)
@@ -21,7 +21,7 @@
  * @brief      Provide Thermal Monitor external D-bus interface and verify
  *             whether the thermal scenarios are supported or not and then
  *             send broadcasting D-bus signal with the decided thermal
- *             scenario like ReleseAction through D-bus interface.
+ *             scenario like Release through D-bus interface.
  * @ingroup    COM_POWER_MGNT
  */
 
@@ -194,7 +194,7 @@ static struct pass_gdbus_signal_info g_gdbus_signal_infos[] = {
  * @brief      Send broadcasting signal with the decided scenario name from
  *             pass-thermal before checking whether the scenario is supported
  *             or not..
- * @param      [in] data Scenario name like ReleaseAction, WarningAction
+ * @param      [in] data Scenario name like Release, Warning
  * @param      [in] user_data Unused parameter
  */
 static int thermal_notifier_cb(void *data, void *user_data)
index fd8295c..836fa20 100644 (file)
@@ -23,7 +23,7 @@
  * @brief      Provide Thermal Monitor external D-bus interface and verify
  *             whether the thermal scenarios are supported or not and then
  *             send broadcasting D-bus signal with the decided thermal
- *             scenario like ReleseAction through D-bus interface.
+ *             scenario like Release through D-bus interface.
  * @ingroup    COM_POWER_MGNT
  */