Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: Get rid of HAVE_MACH_CLKDEV

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>

-6
-2
arch/mips/Kconfig
··· 327 327 select ARCH_REQUIRE_GPIOLIB 328 328 select SWAP_IO_SPACE 329 329 select BOOT_RAW 330 - select HAVE_MACH_CLKDEV 331 330 select CLKDEV_LOOKUP 332 331 select USE_OF 333 332 select PINCTRL ··· 588 589 select SYS_SUPPORTS_LITTLE_ENDIAN 589 590 select SYS_SUPPORTS_MIPS16 590 591 select SYS_HAS_EARLY_PRINTK 591 - select HAVE_MACH_CLKDEV 592 592 select CLKDEV_LOOKUP 593 593 select ARCH_HAS_RESET_CONTROLLER 594 594 select RESET_CONTROLLER
-1
arch/mips/pic32/Kconfig
··· 15 15 select SYS_SUPPORTS_32BIT_KERNEL 16 16 select SYS_SUPPORTS_LITTLE_ENDIAN 17 17 select ARCH_REQUIRE_GPIOLIB 18 - select HAVE_MACH_CLKDEV 19 18 select COMMON_CLK 20 19 select CLKDEV_LOOKUP 21 20 select LIBFDT
-3
drivers/clk/Kconfig
··· 6 6 config HAVE_CLK_PREPARE 7 7 bool 8 8 9 - config HAVE_MACH_CLKDEV 10 - bool 11 - 12 9 config COMMON_CLK 13 10 bool 14 11 select HAVE_CLK_PREPARE