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>
diff --git a/drivers/clk/clk-uclass.c b/drivers/clk/clk-uclass.c
index 094b1ab..d245b67 100644
--- a/drivers/clk/clk-uclass.c
+++ b/drivers/clk/clk-uclass.c
@@ -57,7 +57,7 @@
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 e7c26db..ed76601 100644
--- a/drivers/clk/clk_stm32f.c
+++ b/drivers/clk/clk_stm32f.c
@@ -703,7 +703,7 @@
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 20b3647..d440c28 100644
--- a/drivers/clk/clk_stm32h7.c
+++ b/drivers/clk/clk_stm32h7.c
@@ -835,7 +835,7 @@
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 578668b..89c8d02 100644
--- a/drivers/clk/clk_versaclock.c
+++ b/drivers/clk/clk_versaclock.c
@@ -627,7 +627,7 @@
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 d2d0169..3a68c5a 100644
--- a/drivers/clk/renesas/clk-rcar-gen2.c
+++ b/drivers/clk/renesas/clk-rcar-gen2.c
@@ -256,7 +256,7 @@
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 6cf07fb..bcf5865 100644
--- a/drivers/clk/renesas/clk-rcar-gen3.c
+++ b/drivers/clk/renesas/clk-rcar-gen3.c
@@ -365,7 +365,7 @@
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 8ac085e..6cc02d2 100644
--- a/drivers/clk/ti/clk-ctrl.c
+++ b/drivers/clk/ti/clk-ctrl.c
@@ -83,7 +83,7 @@
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;
}