hal-power-interface-1: Remove typo and correct spelling 37/315837/1 accepted/tizen/9.0/unified/20241207.044221
authorUnsung Lee <unsung.lee@samsung.com>
Thu, 5 Dec 2024 06:05:06 +0000 (15:05 +0900)
committerUnsung Lee <unsung.lee@samsung.com>
Thu, 5 Dec 2024 06:14:18 +0000 (15:14 +0900)
Remove typo and correct spelling of the variable name and comment in the document.

Change-Id: If9a66b62ff9488edd59aa01ed3f5f0ff79e1e8c7
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
doc/hal_power_doc.h
include/hal-power-interface-1.h

index 25f280c1fbcefb22f51c9dc707c452119b0a91fb..3b438cf7a5efc9eb58afe43bdc1369be66620e92 100644 (file)
@@ -58,7 +58,7 @@
  * - hal_power_dvfs_get_load_table
  *
  * The hardware operations provided by CPU hotplug involve getting or setting information related to online CPU. \n
- * This information includes online CPU list and the number of minimum/maximun online CPU.
+ * This information includes online CPU list and the number of minimum/maximum online CPU.
  *
  * The Power functions of CPU hotplug includes:
  * - hal_power_hotplug_get_online_state
index f845f5313fd4a37957bc38ef3ad64fb00f35c723..5752bc55b4ebcefdb04ef727e5b9f17292137c70 100644 (file)
@@ -49,7 +49,7 @@ struct pass_resource_dvfs_ops {
        int (*set_max_freq)(char *res_name, int freq); /**< Set the maximum frequency */
 
        int (*get_available_min_freq)(char *res_name); /**< Get the minimum frequency which can be set to resource */
-       int (*get_available_max_freq)(char *res_name); /**< Get the maxinum frequency which can be set to resource */
+       int (*get_available_max_freq)(char *res_name); /**< Get the maximum frequency which can be set to resource */
 
        int (*get_up_threshold)(char *res_name); /**< Get the up_threshold to support boosting */
        int (*set_up_threshold)(char *res_name, int up_threshold); /**< Set the up_threshold to support boosting */
@@ -79,7 +79,7 @@ struct pass_resource_tmu_ops {
 
        int (*get_policy)(char *res_thermal_name, char *policy); /**< Get the policy of thermal management unit */
 
-       int (*set_cooling_device_state)(char *coolign_device_name, int state); /**< Set the state of thermal cooling-device */
+       int (*set_cooling_device_state)(char *cooling_device_name, int state); /**< Set the state of thermal cooling-device */
        int (*get_cooling_device_state)(char *cooling_device_name); /**< Get the state of thermal cooling-device */
 
        int (*get_cooling_device_max_state)(char *cooling_device_name); /**< Get the maximum state of thermal cooling-device */
@@ -90,10 +90,10 @@ struct pass_resource_tmu_ops {
  * @since HAL_MODULE_POWER 1.0
  */
 struct pass_resource_battery_ops {
-       int (*set_charging_status)(char *res_name, int state); /**< Set the state of batterh charging */
-       int (*get_charging_status)(char *res_name); /**< Get the state of batterh charging */
+       int (*set_charging_status)(char *res_name, int state); /**< Set the state of battery charging */
+       int (*get_charging_status)(char *res_name); /**< Get the state of battery charging */
 
-       int (*set_charging_current)(char *res_name, int charing_current_uA); /**< Set the battery charging current (unit: uA) */
+       int (*set_charging_current)(char *res_name, int charging_current_uA); /**< Set the battery charging current (unit: uA) */
        int (*get_charging_current)(char *res_name); /**< Get the battery charging current (unit: uA) */
 };