diff options
| author | Brian Ruley <[email protected]> | 2025-12-29 12:48:05 +0200 |
|---|---|---|
| committer | Fabio Estevam <[email protected]> | 2025-12-29 10:17:01 -0300 |
| commit | d8e5f8d24a1f2f9f299f79c9cc0872c7955bc2f1 (patch) | |
| tree | b0da904c5cdcab4b7d206f1af6fbe5225fa8be98 /drivers | |
| parent | ac5616a8717f55e907ccd22965a1887996feeaf9 (diff) | |
video: imx: ipuv3: add names to clk function identifiers
The API should provide clear distinction in the order of parameters.
Signed-off-by: Brian Ruley <[email protected]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/video/imx/ipu.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/video/imx/ipu.h b/drivers/video/imx/ipu.h index 16e103cf541..f7d9d809529 100644 --- a/drivers/video/imx/ipu.h +++ b/drivers/video/imx/ipu.h @@ -39,30 +39,30 @@ struct clk { * Function ptr to recalculate the clock's rate based on parent * clock's rate */ - void (*recalc)(struct clk *); + void (*recalc)(struct clk *clk); /* * Function ptr to set the clock to a new rate. The rate must match a * supported rate returned from round_rate. Leave blank if clock is not * programmable */ - int (*set_rate)(struct clk *, unsigned long); + int (*set_rate)(struct clk *clk, unsigned long rate); /* * Function ptr to round the requested clock rate to the nearest * supported rate that is less than or equal to the requested rate. */ - unsigned long (*round_rate)(struct clk *, unsigned long); + unsigned long (*round_rate)(struct clk *clk, unsigned long rate); /* * Function ptr to enable the clock. Leave blank if clock can not * be gated. */ - int (*enable)(struct clk *); + int (*enable)(struct clk *clk); /* * Function ptr to disable the clock. Leave blank if clock can not * be gated. */ - void (*disable)(struct clk *); + void (*disable)(struct clk *clk); /* Function ptr to set the parent clock of the clock. */ - int (*set_parent)(struct clk *, struct clk *); + int (*set_parent)(struct clk *clk, struct clk *parent); }; /* |
