linux-clk.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] clk: Get rid of HAVE_MACH_CLKDEV
@ 2016-01-27 22:17 Stephen Boyd
  2016-02-25 20:30 ` Joshua Henderson
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Boyd @ 2016-01-27 22:17 UTC (permalink / raw)
  To: Mike Turquette, Stephen Boyd
  Cc: linux-kernel, linux-clk, Ralf Baechle, linux-mips

This config was used for the ARM port so that it could use a
machine specific clkdev.h include, but those are all gone now.
The MIPS architecture is the last user, and from what I can tell
it doesn't actually use it anyway, so let's remove the config all
together.

Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: <linux-mips@linux-mips.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
---

I don't see a problem if this goes through the MIPS tree or the clk tree.
Let me know and I can take it through clk.

 arch/mips/Kconfig       | 2 --
 arch/mips/pic32/Kconfig | 1 -
 drivers/clk/Kconfig     | 3 ---
 3 files changed, 6 deletions(-)

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 56f57816613e..8e1be2889af3 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -328,7 +328,6 @@ config LANTIQ
 	select ARCH_REQUIRE_GPIOLIB
 	select SWAP_IO_SPACE
 	select BOOT_RAW
-	select HAVE_MACH_CLKDEV
 	select CLKDEV_LOOKUP
 	select USE_OF
 	select PINCTRL
@@ -590,7 +589,6 @@ config RALINK
 	select SYS_SUPPORTS_LITTLE_ENDIAN
 	select SYS_SUPPORTS_MIPS16
 	select SYS_HAS_EARLY_PRINTK
-	select HAVE_MACH_CLKDEV
 	select CLKDEV_LOOKUP
 	select ARCH_HAS_RESET_CONTROLLER
 	select RESET_CONTROLLER
diff --git a/arch/mips/pic32/Kconfig b/arch/mips/pic32/Kconfig
index fde56a8b85ca..1985971b9890 100644
--- a/arch/mips/pic32/Kconfig
+++ b/arch/mips/pic32/Kconfig
@@ -15,7 +15,6 @@ config PIC32MZDA
 	select SYS_SUPPORTS_32BIT_KERNEL
 	select SYS_SUPPORTS_LITTLE_ENDIAN
 	select ARCH_REQUIRE_GPIOLIB
-	select HAVE_MACH_CLKDEV
 	select COMMON_CLK
 	select CLKDEV_LOOKUP
 	select LIBFDT
diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
index eca8e019e005..35cbde8449a0 100644
--- a/drivers/clk/Kconfig
+++ b/drivers/clk/Kconfig
@@ -6,9 +6,6 @@ config CLKDEV_LOOKUP
 config HAVE_CLK_PREPARE
 	bool
 
-config HAVE_MACH_CLKDEV
-	bool
-
 config COMMON_CLK
 	bool
 	select HAVE_CLK_PREPARE
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] clk: Get rid of HAVE_MACH_CLKDEV
  2016-01-27 22:17 [PATCH] clk: Get rid of HAVE_MACH_CLKDEV Stephen Boyd
@ 2016-02-25 20:30 ` Joshua Henderson
  2016-02-25 22:41   ` Stephen Boyd
  0 siblings, 1 reply; 3+ messages in thread
From: Joshua Henderson @ 2016-02-25 20:30 UTC (permalink / raw)
  To: Stephen Boyd, Mike Turquette
  Cc: linux-kernel, linux-clk, Ralf Baechle, linux-mips

On 01/27/2016 03:17 PM, Stephen Boyd wrote:
> This config was used for the ARM port so that it could use a
> machine specific clkdev.h include, but those are all gone now.
> The MIPS architecture is the last user, and from what I can tell
> it doesn't actually use it anyway, so let's remove the config all
> together.
> 
> Cc: Ralf Baechle <ralf@linux-mips.org>
> Cc: <linux-mips@linux-mips.org>
> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>

Reviewed-by: Joshua Henderson <joshua.henderson@microchip.com>

Thanks,
Josh

> ---
> 
> I don't see a problem if this goes through the MIPS tree or the clk tree.
> Let me know and I can take it through clk.
> 
>  arch/mips/Kconfig       | 2 --
>  arch/mips/pic32/Kconfig | 1 -
>  drivers/clk/Kconfig     | 3 ---
>  3 files changed, 6 deletions(-)
> 
> diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
> index 56f57816613e..8e1be2889af3 100644
> --- a/arch/mips/Kconfig
> +++ b/arch/mips/Kconfig
> @@ -328,7 +328,6 @@ config LANTIQ
>  	select ARCH_REQUIRE_GPIOLIB
>  	select SWAP_IO_SPACE
>  	select BOOT_RAW
> -	select HAVE_MACH_CLKDEV
>  	select CLKDEV_LOOKUP
>  	select USE_OF
>  	select PINCTRL
> @@ -590,7 +589,6 @@ config RALINK
>  	select SYS_SUPPORTS_LITTLE_ENDIAN
>  	select SYS_SUPPORTS_MIPS16
>  	select SYS_HAS_EARLY_PRINTK
> -	select HAVE_MACH_CLKDEV
>  	select CLKDEV_LOOKUP
>  	select ARCH_HAS_RESET_CONTROLLER
>  	select RESET_CONTROLLER
> diff --git a/arch/mips/pic32/Kconfig b/arch/mips/pic32/Kconfig
> index fde56a8b85ca..1985971b9890 100644
> --- a/arch/mips/pic32/Kconfig
> +++ b/arch/mips/pic32/Kconfig
> @@ -15,7 +15,6 @@ config PIC32MZDA
>  	select SYS_SUPPORTS_32BIT_KERNEL
>  	select SYS_SUPPORTS_LITTLE_ENDIAN
>  	select ARCH_REQUIRE_GPIOLIB
> -	select HAVE_MACH_CLKDEV
>  	select COMMON_CLK
>  	select CLKDEV_LOOKUP
>  	select LIBFDT
> diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
> index eca8e019e005..35cbde8449a0 100644
> --- a/drivers/clk/Kconfig
> +++ b/drivers/clk/Kconfig
> @@ -6,9 +6,6 @@ config CLKDEV_LOOKUP
>  config HAVE_CLK_PREPARE
>  	bool
>  
> -config HAVE_MACH_CLKDEV
> -	bool
> -
>  config COMMON_CLK
>  	bool
>  	select HAVE_CLK_PREPARE
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] clk: Get rid of HAVE_MACH_CLKDEV
  2016-02-25 20:30 ` Joshua Henderson
@ 2016-02-25 22:41   ` Stephen Boyd
  0 siblings, 0 replies; 3+ messages in thread
From: Stephen Boyd @ 2016-02-25 22:41 UTC (permalink / raw)
  To: Joshua Henderson
  Cc: Mike Turquette, linux-kernel, linux-clk, Ralf Baechle, linux-mips

On 02/25, Joshua Henderson wrote:
> On 01/27/2016 03:17 PM, Stephen Boyd wrote:
> > This config was used for the ARM port so that it could use a
> > machine specific clkdev.h include, but those are all gone now.
> > The MIPS architecture is the last user, and from what I can tell
> > it doesn't actually use it anyway, so let's remove the config all
> > together.
> > 
> > Cc: Ralf Baechle <ralf@linux-mips.org>
> > Cc: <linux-mips@linux-mips.org>
> > Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
> 
> Reviewed-by: Joshua Henderson <joshua.henderson@microchip.com>
> 

Thanks. Merged to clk-next.

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-02-25 22:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-27 22:17 [PATCH] clk: Get rid of HAVE_MACH_CLKDEV Stephen Boyd
2016-02-25 20:30 ` Joshua Henderson
2016-02-25 22:41   ` Stephen Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).