2019-04-16 11:57:08

by Colin King

[permalink] [raw]
Subject: [PATCH] clk: mvebu: fix spelling mistake "gatable" -> "gateable"

From: Colin Ian King <[email protected]>

There are a few spelling mistakes in comments and a pr_err
error message. Fix these.

Signed-off-by: Colin Ian King <[email protected]>
---
drivers/clk/mvebu/common.c | 2 +-
drivers/clk/mvebu/cp110-system-controller.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/clk/mvebu/common.c b/drivers/clk/mvebu/common.c
index 6ab3c2e627c7..785dbede4835 100644
--- a/drivers/clk/mvebu/common.c
+++ b/drivers/clk/mvebu/common.c
@@ -240,7 +240,7 @@ void __init mvebu_clk_gating_setup(struct device_node *np,
int n;

if (ctrl) {
- pr_err("mvebu-clk-gating: cannot instantiate more than one gatable clock device\n");
+ pr_err("mvebu-clk-gating: cannot instantiate more than one gateable clock device\n");
return;
}

diff --git a/drivers/clk/mvebu/cp110-system-controller.c b/drivers/clk/mvebu/cp110-system-controller.c
index 9235a331b588..b6de283f45e3 100644
--- a/drivers/clk/mvebu/cp110-system-controller.c
+++ b/drivers/clk/mvebu/cp110-system-controller.c
@@ -21,7 +21,7 @@
* - Equal to SDIO clock
* - 2/5 PLL0
*
- * CP110 has 32 gatable clocks, for the various peripherals in the IP.
+ * CP110 has 32 gateable clocks, for the various peripherals in the IP.
*/

#define pr_fmt(fmt) "cp110-system-controller: " fmt
@@ -57,7 +57,7 @@ enum {
#define CP110_CORE_NAND 4
#define CP110_CORE_SDIO 5

-/* A number of gatable clocks need special handling */
+/* A number of gateable clocks need special handling */
#define CP110_GATE_AUDIO 0
#define CP110_GATE_COMM_UNIT 1
#define CP110_GATE_NAND 2
--
2.20.1


2019-04-16 13:23:42

by Mukesh Ojha

[permalink] [raw]
Subject: Re: [PATCH] clk: mvebu: fix spelling mistake "gatable" -> "gateable"


On 4/16/2019 5:26 PM, Colin King wrote:
> From: Colin Ian King <[email protected]>
>
> There are a few spelling mistakes in comments and a pr_err
> error message. Fix these.
>
> Signed-off-by: Colin Ian King <[email protected]>


Reviewed-by: Mukesh Ojha <[email protected]>

Cheers,
-Mukesh

> ---
> drivers/clk/mvebu/common.c | 2 +-
> drivers/clk/mvebu/cp110-system-controller.c | 4 ++--
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/clk/mvebu/common.c b/drivers/clk/mvebu/common.c
> index 6ab3c2e627c7..785dbede4835 100644
> --- a/drivers/clk/mvebu/common.c
> +++ b/drivers/clk/mvebu/common.c
> @@ -240,7 +240,7 @@ void __init mvebu_clk_gating_setup(struct device_node *np,
> int n;
>
> if (ctrl) {
> - pr_err("mvebu-clk-gating: cannot instantiate more than one gatable clock device\n");
> + pr_err("mvebu-clk-gating: cannot instantiate more than one gateable clock device\n");
> return;
> }
>
> diff --git a/drivers/clk/mvebu/cp110-system-controller.c b/drivers/clk/mvebu/cp110-system-controller.c
> index 9235a331b588..b6de283f45e3 100644
> --- a/drivers/clk/mvebu/cp110-system-controller.c
> +++ b/drivers/clk/mvebu/cp110-system-controller.c
> @@ -21,7 +21,7 @@
> * - Equal to SDIO clock
> * - 2/5 PLL0
> *
> - * CP110 has 32 gatable clocks, for the various peripherals in the IP.
> + * CP110 has 32 gateable clocks, for the various peripherals in the IP.
> */
>
> #define pr_fmt(fmt) "cp110-system-controller: " fmt
> @@ -57,7 +57,7 @@ enum {
> #define CP110_CORE_NAND 4
> #define CP110_CORE_SDIO 5
>
> -/* A number of gatable clocks need special handling */
> +/* A number of gateable clocks need special handling */
> #define CP110_GATE_AUDIO 0
> #define CP110_GATE_COMM_UNIT 1
> #define CP110_GATE_NAND 2

2019-04-18 21:54:17

by Stephen Boyd

[permalink] [raw]
Subject: Re: [PATCH] clk: mvebu: fix spelling mistake "gatable" -> "gateable"

Quoting Colin King (2019-04-16 04:56:16)
> From: Colin Ian King <[email protected]>
>
> There are a few spelling mistakes in comments and a pr_err
> error message. Fix these.
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---

Applied to clk-next