diff options
| author | Patrice Chotard <[email protected]> | 2025-12-18 18:27:01 +0100 |
|---|---|---|
| committer | Peng Fan <[email protected]> | 2026-01-05 10:04:48 +0800 |
| commit | 9a23c1e5f21ec5d13d9833953b2b608f28273309 (patch) | |
| tree | af136416b9ac7d25722136d382bfad054e523ab2 | |
| parent | eb18217b63b79dfcec704d420fcc61e77397c88f (diff) | |
clk: scmi: Fix typo scmi_clk_get_attibute
Fix typo attibute, rename scmi_clk_get_attibute() to
scmi_clk_get_attribute().
Reviewed-by: Peng Fan <[email protected]>
Reviewed-by: Marek Vasut <[email protected]>
Signed-off-by: Patrice Chotard <[email protected]>
Signed-off-by: Peng Fan <[email protected]>
| -rw-r--r-- | drivers/clk/clk_scmi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/clk/clk_scmi.c b/drivers/clk/clk_scmi.c index 683ac822a01..f6132178205 100644 --- a/drivers/clk/clk_scmi.c +++ b/drivers/clk/clk_scmi.c @@ -87,8 +87,8 @@ static int scmi_clk_get_num_clock(struct udevice *dev, size_t *num_clocks) return 0; } -static int scmi_clk_get_attibute(struct udevice *dev, int clkid, char *name, - u32 *attr) +static int scmi_clk_get_attribute(struct udevice *dev, int clkid, char *name, + u32 *attr) { struct scmi_clock_priv *priv = dev_get_priv(dev); struct scmi_clk_attribute_in in = { @@ -183,8 +183,8 @@ static int scmi_clk_get_ctrl_flags(struct clk *clk, u32 *ctrl_flags) if (!clkscmi->attrs_resolved) { char name[SCMI_CLOCK_NAME_LENGTH_MAX]; - ret = scmi_clk_get_attibute(dev, clk->id & CLK_ID_MSK, - name, &attributes); + ret = scmi_clk_get_attribute(dev, clk->id & CLK_ID_MSK, + name, &attributes); if (ret) return ret; |
