[PATCH v3 1/3] clk: scmi: Fix typo scmi_clk_get_attibute

Marek Vasut marek.vasut at mailbox.org
Wed Dec 17 21:22:30 CET 2025


On 12/17/25 5:45 PM, Patrice Chotard wrote:
> %s/scmi_clk_get_attibute/scmi_clk_get_attribute/

Please rewrite the commit message and explain what this commit does, in 
plain text. This commit message is sloppy.

> Signed-off-by: Patrice Chotard <patrice.chotard at foss.st.com>

Add --- here, so the CC list is not included when the patch is applied.

> Cc: Alice Guo <alice.guo at nxp.com>
> Cc: Marek Vasut <marek.vasut+renesas at mailbox.org>
> Cc: Patrick Delaunay <patrick.delaunay at foss.st.com>
> Cc: Peng Fan <peng.fan at nxp.com>
> Cc: Sean Anderson <seanga2 at gmail.com>
> Cc: Tom Rini <trini at konsulko.com>
> Cc: Valentin Caron <valentin.caron at foss.st.com>
> Cc: Vinh Nguyen <vinh.nguyen.xz at renesas.com>
> Cc: u-boot at lists.denx.de
> Reviewed-by: Peng Fan <peng.fan at nxp.com>

AB/RB/TB tags go above SoB lines.

> ---
>   drivers/clk/clk_scmi.c | 8 ++++----
>   1 file 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;
>   
> 


-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list