diff mbox

mfd: ab8500-core: rename clock device and compatible

Message ID 20170113151020.31520-1-linus.walleij@linaro.org
State Accepted
Commit 91549e87239f745de68fcda1af978c1f0aa17fcb
Headers show

Commit Message

Linus Walleij Jan. 13, 2017, 3:10 p.m. UTC
We didn't have proper device tree bindings for this clock,
I standardized it to use the exact chipname so let's rename
it "ab8500-clk" and rectify the device tree compatible string
to "stericsson,ab8500-clk".

Cc: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

---
 drivers/mfd/ab8500-core.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
2.9.3

Comments

Lee Jones Jan. 23, 2017, 11:56 a.m. UTC | #1
On Fri, 13 Jan 2017, Linus Walleij wrote:

> We didn't have proper device tree bindings for this clock,

> I standardized it to use the exact chipname so let's rename

> it "ab8500-clk" and rectify the device tree compatible string

> to "stericsson,ab8500-clk".

> 

> Cc: Ulf Hansson <ulf.hansson@linaro.org>

> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

> ---

>  drivers/mfd/ab8500-core.c | 4 ++--

>  1 file changed, 2 insertions(+), 2 deletions(-)


Applied, thanks.

> diff --git a/drivers/mfd/ab8500-core.c b/drivers/mfd/ab8500-core.c

> index 6e00124cef01..8511c068a610 100644

> --- a/drivers/mfd/ab8500-core.c

> +++ b/drivers/mfd/ab8500-core.c

> @@ -656,8 +656,8 @@ static const struct mfd_cell ab8500_devs[] = {

>  		.of_compatible = "stericsson,ab8500-regulator",

>  	},

>  	{

> -		.name = "abx500-clk",

> -		.of_compatible = "stericsson,abx500-clk",

> +		.name = "ab8500-clk",

> +		.of_compatible = "stericsson,ab8500-clk",

>  	},

>  	{

>  		.name = "ab8500-gpadc",


-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
diff mbox

Patch

diff --git a/drivers/mfd/ab8500-core.c b/drivers/mfd/ab8500-core.c
index 6e00124cef01..8511c068a610 100644
--- a/drivers/mfd/ab8500-core.c
+++ b/drivers/mfd/ab8500-core.c
@@ -656,8 +656,8 @@  static const struct mfd_cell ab8500_devs[] = {
 		.of_compatible = "stericsson,ab8500-regulator",
 	},
 	{
-		.name = "abx500-clk",
-		.of_compatible = "stericsson,abx500-clk",
+		.name = "ab8500-clk",
+		.of_compatible = "stericsson,ab8500-clk",
 	},
 	{
 		.name = "ab8500-gpadc",