clk: fix clk_get_rate() documentation
[platform/kernel/u-boot.git] / include / clk.h
index a928879..df5255e 100644 (file)
@@ -389,7 +389,8 @@ int clk_free(struct clk *clk);
  *
  * @clk:       A clock struct that was previously successfully requested by
  *             clk_request/get_by_*().
- * @return clock rate in Hz, or -ve error code.
+ * @return clock rate in Hz on success, 0 for invalid clock, or -ve error code
+ *        for other errors.
  */
 ulong clk_get_rate(struct clk *clk);