treewide: invaild -> invalid

Somewhere along the way, someone misspelt "invalid" and it got copied
everywhere. Fix it.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Alexander Dahl <ada@thorsis.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Sean Anderson 2021-12-01 14:26:53 -05:00 committed by Tom Rini
parent 37b876359f
commit 46ad7cef64
16 changed files with 16 additions and 16 deletions

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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];

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}