From: Sean Anderson Date: Wed, 1 Dec 2021 19:26:53 +0000 (-0500) Subject: treewide: invaild -> invalid X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=46ad7cef64205806c6383599fbdcd73a631666f0;p=u-boot.git treewide: invaild -> invalid Somewhere along the way, someone misspelt "invalid" and it got copied everywhere. Fix it. Signed-off-by: Sean Anderson Reviewed-by: Alexander Dahl Reviewed-by: Simon Glass --- diff --git a/drivers/clk/clk-uclass.c b/drivers/clk/clk-uclass.c index 094b1abf13..d245b672fa 100644 --- a/drivers/clk/clk-uclass.c +++ b/drivers/clk/clk-uclass.c @@ -57,7 +57,7 @@ static int clk_of_xlate_default(struct clk *clk, debug("%s(clk=%p)\n", __func__, clk); if (args->args_count > 1) { - debug("Invaild args_count: %d\n", args->args_count); + debug("Invalid args_count: %d\n", args->args_count); return -EINVAL; } diff --git a/drivers/clk/clk_stm32f.c b/drivers/clk/clk_stm32f.c index e7c26db51c..ed7660196e 100644 --- a/drivers/clk/clk_stm32f.c +++ b/drivers/clk/clk_stm32f.c @@ -703,7 +703,7 @@ static int stm32_clk_of_xlate(struct clk *clk, struct ofnode_phandle_args *args) dev_dbg(clk->dev, "clk=%p\n", clk); if (args->args_count != 2) { - dev_dbg(clk->dev, "Invaild args_count: %d\n", args->args_count); + dev_dbg(clk->dev, "Invalid args_count: %d\n", args->args_count); return -EINVAL; } diff --git a/drivers/clk/clk_stm32h7.c b/drivers/clk/clk_stm32h7.c index 20b3647099..d440c28eb4 100644 --- a/drivers/clk/clk_stm32h7.c +++ b/drivers/clk/clk_stm32h7.c @@ -835,7 +835,7 @@ static int stm32_clk_of_xlate(struct clk *clk, struct ofnode_phandle_args *args) { if (args->args_count != 1) { - dev_dbg(clk->dev, "Invaild args_count: %d\n", args->args_count); + dev_dbg(clk->dev, "Invalid args_count: %d\n", args->args_count); return -EINVAL; } diff --git a/drivers/clk/clk_versaclock.c b/drivers/clk/clk_versaclock.c index 578668bcf8..89c8d02336 100644 --- a/drivers/clk/clk_versaclock.c +++ b/drivers/clk/clk_versaclock.c @@ -627,7 +627,7 @@ static int vc5_clk_out_xlate(struct clk *hw, struct ofnode_phandle_args *args) unsigned int idx = args->args[0]; if (args->args_count != 1) { - debug("Invaild args_count: %d\n", args->args_count); + debug("Invalid args_count: %d\n", args->args_count); return -EINVAL; } diff --git a/drivers/clk/renesas/clk-rcar-gen2.c b/drivers/clk/renesas/clk-rcar-gen2.c index d2d0169dd8..3a68c5ad0e 100644 --- a/drivers/clk/renesas/clk-rcar-gen2.c +++ b/drivers/clk/renesas/clk-rcar-gen2.c @@ -256,7 +256,7 @@ static ulong gen2_clk_set_rate(struct clk *clk, ulong rate) static int gen2_clk_of_xlate(struct clk *clk, struct ofnode_phandle_args *args) { if (args->args_count != 2) { - debug("Invaild args_count: %d\n", args->args_count); + debug("Invalid args_count: %d\n", args->args_count); return -EINVAL; } diff --git a/drivers/clk/renesas/clk-rcar-gen3.c b/drivers/clk/renesas/clk-rcar-gen3.c index 6cf07fb418..bcf5865222 100644 --- a/drivers/clk/renesas/clk-rcar-gen3.c +++ b/drivers/clk/renesas/clk-rcar-gen3.c @@ -365,7 +365,7 @@ static ulong gen3_clk_set_rate(struct clk *clk, ulong rate) static int gen3_clk_of_xlate(struct clk *clk, struct ofnode_phandle_args *args) { if (args->args_count != 2) { - debug("Invaild args_count: %d\n", args->args_count); + debug("Invalid args_count: %d\n", args->args_count); return -EINVAL; } diff --git a/drivers/clk/ti/clk-ctrl.c b/drivers/clk/ti/clk-ctrl.c index 8ac085ee4f..6cc02d2eea 100644 --- a/drivers/clk/ti/clk-ctrl.c +++ b/drivers/clk/ti/clk-ctrl.c @@ -83,7 +83,7 @@ static int clk_ti_ctrl_of_xlate(struct clk *clk, struct ofnode_phandle_args *args) { if (args->args_count != 2) { - dev_err(clk->dev, "invaild args_count: %d\n", args->args_count); + dev_err(clk->dev, "invalid args_count: %d\n", args->args_count); return -EINVAL; } diff --git a/drivers/dma/dma-uclass.c b/drivers/dma/dma-uclass.c index 652ddbb62b..012609bb53 100644 --- a/drivers/dma/dma-uclass.c +++ b/drivers/dma/dma-uclass.c @@ -35,7 +35,7 @@ static int dma_of_xlate_default(struct dma *dma, debug("%s(dma=%p)\n", __func__, dma); if (args->args_count > 1) { - pr_err("Invaild args_count: %d\n", args->args_count); + pr_err("Invalid args_count: %d\n", args->args_count); return -EINVAL; } diff --git a/drivers/hwspinlock/hwspinlock-uclass.c b/drivers/hwspinlock/hwspinlock-uclass.c index cbe7236011..e012d5a4c9 100644 --- a/drivers/hwspinlock/hwspinlock-uclass.c +++ b/drivers/hwspinlock/hwspinlock-uclass.c @@ -25,7 +25,7 @@ static int hwspinlock_of_xlate_default(struct hwspinlock *hws, struct ofnode_phandle_args *args) { if (args->args_count > 1) { - debug("Invaild args_count: %d\n", args->args_count); + debug("Invalid args_count: %d\n", args->args_count); return -EINVAL; } diff --git a/drivers/mailbox/k3-sec-proxy.c b/drivers/mailbox/k3-sec-proxy.c index 20fdb09f31..a862e55bc3 100644 --- a/drivers/mailbox/k3-sec-proxy.c +++ b/drivers/mailbox/k3-sec-proxy.c @@ -116,7 +116,7 @@ static int k3_sec_proxy_of_xlate(struct mbox_chan *chan, debug("%s(chan=%p)\n", __func__, chan); if (args->args_count != 1) { - debug("Invaild args_count: %d\n", args->args_count); + debug("Invalid args_count: %d\n", args->args_count); return -EINVAL; } ind = args->args[0]; diff --git a/drivers/mailbox/mailbox-uclass.c b/drivers/mailbox/mailbox-uclass.c index 01c9e75fa5..85ba8c5fd9 100644 --- a/drivers/mailbox/mailbox-uclass.c +++ b/drivers/mailbox/mailbox-uclass.c @@ -24,7 +24,7 @@ static int mbox_of_xlate_default(struct mbox_chan *chan, debug("%s(chan=%p)\n", __func__, chan); if (args->args_count != 1) { - debug("Invaild args_count: %d\n", args->args_count); + debug("Invalid args_count: %d\n", args->args_count); return -EINVAL; } diff --git a/drivers/mailbox/tegra-hsp.c b/drivers/mailbox/tegra-hsp.c index 1d66d95fe4..08c51c40f1 100644 --- a/drivers/mailbox/tegra-hsp.c +++ b/drivers/mailbox/tegra-hsp.c @@ -77,7 +77,7 @@ static int tegra_hsp_of_xlate(struct mbox_chan *chan, debug("%s(chan=%p)\n", __func__, chan); if (args->args_count != 2) { - debug("Invaild args_count: %d\n", args->args_count); + debug("Invalid args_count: %d\n", args->args_count); return -EINVAL; } diff --git a/drivers/misc/irq-uclass.c b/drivers/misc/irq-uclass.c index eb9f3b902f..7b79ed2df4 100644 --- a/drivers/misc/irq-uclass.c +++ b/drivers/misc/irq-uclass.c @@ -89,7 +89,7 @@ static int irq_of_xlate_default(struct irq *irq, log_debug("(irq=%p)\n", irq); if (args->args_count > 1) { - log_debug("Invaild args_count: %d\n", args->args_count); + log_debug("Invalid args_count: %d\n", args->args_count); return -EINVAL; } diff --git a/drivers/mux/mux-uclass.c b/drivers/mux/mux-uclass.c index 91842c5539..8870305313 100644 --- a/drivers/mux/mux-uclass.c +++ b/drivers/mux/mux-uclass.c @@ -130,7 +130,7 @@ static int mux_of_xlate_default(struct mux_chip *mux_chip, log_debug("%s(muxp=%p)\n", __func__, muxp); if (args->args_count > 1) { - debug("Invaild args_count: %d\n", args->args_count); + debug("Invalid args_count: %d\n", args->args_count); return -EINVAL; } diff --git a/drivers/phy/phy-uclass.c b/drivers/phy/phy-uclass.c index 59683a080c..706e9fdf3a 100644 --- a/drivers/phy/phy-uclass.c +++ b/drivers/phy/phy-uclass.c @@ -23,7 +23,7 @@ static int generic_phy_xlate_offs_flags(struct phy *phy, debug("%s(phy=%p)\n", __func__, phy); if (args->args_count > 1) { - debug("Invaild args_count: %d\n", args->args_count); + debug("Invalid args_count: %d\n", args->args_count); return -EINVAL; } diff --git a/drivers/reset/reset-uclass.c b/drivers/reset/reset-uclass.c index c09c009130..ca9f00a8f2 100644 --- a/drivers/reset/reset-uclass.c +++ b/drivers/reset/reset-uclass.c @@ -26,7 +26,7 @@ static int reset_of_xlate_default(struct reset_ctl *reset_ctl, debug("%s(reset_ctl=%p)\n", __func__, reset_ctl); if (args->args_count != 1) { - debug("Invaild args_count: %d\n", args->args_count); + debug("Invalid args_count: %d\n", args->args_count); return -EINVAL; }