Skip to content

Commit

Permalink
clk: tegra: Update kerneldoc to match prototypes
Browse files Browse the repository at this point in the history
For some DFLL functions, the kerneldoc comments don't match the function
prototype. Fix them up to avoid some warnings at build time.

Signed-off-by: Thierry Reding <treding@nvidia.com>
  • Loading branch information
Thierry Reding committed May 6, 2022
1 parent 6a7ace2 commit 6f6baf6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/clk/tegra/clk-dfll.c
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ static int dfll_force_output(struct tegra_dfll *td, unsigned int out_sel)
}

/**
* dfll_load_lut - load the voltage lookup table
* dfll_load_i2c_lut - load the voltage lookup table
* @td: struct tegra_dfll *
*
* Load the voltage-to-PMIC register value lookup table into the DFLL
Expand Down Expand Up @@ -898,7 +898,7 @@ static void dfll_set_frequency_request(struct tegra_dfll *td,
}

/**
* tegra_dfll_request_rate - set the next rate for the DFLL to tune to
* dfll_request_rate - set the next rate for the DFLL to tune to
* @td: DFLL instance
* @rate: clock rate to target
*
Expand Down Expand Up @@ -1006,7 +1006,7 @@ static void dfll_set_open_loop_config(struct tegra_dfll *td)
}

/**
* tegra_dfll_lock - switch from open-loop to closed-loop mode
* dfll_lock - switch from open-loop to closed-loop mode
* @td: DFLL instance
*
* Switch from OPEN_LOOP state to CLOSED_LOOP state. Returns 0 upon success,
Expand Down Expand Up @@ -1047,7 +1047,7 @@ static int dfll_lock(struct tegra_dfll *td)
}

/**
* tegra_dfll_unlock - switch from closed-loop to open-loop mode
* dfll_unlock - switch from closed-loop to open-loop mode
* @td: DFLL instance
*
* Switch from CLOSED_LOOP state to OPEN_LOOP state. Returns 0 upon success,
Expand Down

0 comments on commit 6f6baf6

Please sign in to comment.