zynqmp: pm: Correct function header of clock APIs
authorRajan Vaja <[email protected]>
Mon, 9 Jul 2018 07:01:38 +0000 (00:01 -0700)
committerSiva Durga Prasad Paladugu <[email protected]>
Tue, 4 Sep 2018 12:27:32 +0000 (17:57 +0530)
Correct function header of pm_api_clock_getparent() and
pm_api_clock_setparent().

Signed-off-by: Rajan Vaja <[email protected]>
Acked-by: Will Wong <[email protected]>
plat/xilinx/zynqmp/pm_service/pm_api_clock.c

index cecd5587ad445f3bd8a03f8db34b48d51b986057..b175b78b3ebd39fa6fe05a356a6542f19ebb6e43 100644 (file)
@@ -2965,7 +2965,7 @@ enum pm_ret_status pm_api_clock_getrate(unsigned int clock_id,
 /**
  * pm_api_clock_setparent - Set the clock parent for given id
  * @clock_id   Id of the clock
- * @parent_id  parent id
+ * @parent_idx parent index
  *
  * This function is used by master to set parent for any clock.
  *
@@ -3016,7 +3016,7 @@ enum pm_ret_status pm_api_clock_setparent(unsigned int clock_id,
 /**
  * pm_api_clock_getparent - Get the clock parent for given id
  * @clock_id   Id of the clock
- * @parent_id  parent id
+ * @parent_idx parent index
  *
  * This function is used by master to get parent index
  * for any clock.