aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2016-07-24 23:56:29 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2016-07-24 23:56:29 -0400
commit52770c37db2c0ee5585dae2de3d19c8453f1e8dc (patch)
tree4f0535d95121e28addc0baa471967162f282d054
parentb7545b79a1698b4cbcb5da94c105523b85ee7c90 (diff)
parent3fd0498b842f2932558797ec297dc30f6eb5cec0 (diff)
Merge tag 'renesas-sh-drivers-for-v4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas
Pull SH drivers updates from Simon Horman: "Drop use of SH Drivers on Renesas ARM Based SoCs. I expect this to be my last pull request for these drivers as it removes usage of them from Renesas ARM Based SoCs and my co-maintenance of them. The drivers are still used by some SH SoCs and listed under SUPERH in the MAINTAINERS file" * tag 'renesas-sh-drivers-for-v4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas: MAINTAINERS: Drop drivers/sh/ for Renesas ARM drivers: sh: Stop using the legacy clock domain on ARM
-rw-r--r--MAINTAINERS1
-rw-r--r--drivers/Makefile1
-rw-r--r--drivers/sh/pm_runtime.c9
3 files changed, 0 insertions, 11 deletions
diff --git a/MAINTAINERS b/MAINTAINERS
index c891b41e2b58..452beeeb7fbd 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1669,7 +1669,6 @@ F: arch/arm/boot/dts/sh*
1669F: arch/arm/configs/shmobile_defconfig 1669F: arch/arm/configs/shmobile_defconfig
1670F: arch/arm/include/debug/renesas-scif.S 1670F: arch/arm/include/debug/renesas-scif.S
1671F: arch/arm/mach-shmobile/ 1671F: arch/arm/mach-shmobile/
1672F: drivers/sh/
1673F: drivers/soc/renesas/ 1672F: drivers/soc/renesas/
1674F: include/linux/soc/renesas/ 1673F: include/linux/soc/renesas/
1675 1674
diff --git a/drivers/Makefile b/drivers/Makefile
index 0b6f3d60193d..a7187b999c5e 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -128,7 +128,6 @@ obj-$(CONFIG_SGI_SN) += sn/
128obj-y += firmware/ 128obj-y += firmware/
129obj-$(CONFIG_CRYPTO) += crypto/ 129obj-$(CONFIG_CRYPTO) += crypto/
130obj-$(CONFIG_SUPERH) += sh/ 130obj-$(CONFIG_SUPERH) += sh/
131obj-$(CONFIG_ARCH_SHMOBILE) += sh/
132ifndef CONFIG_ARCH_USES_GETTIMEOFFSET 131ifndef CONFIG_ARCH_USES_GETTIMEOFFSET
133obj-y += clocksource/ 132obj-y += clocksource/
134endif 133endif
diff --git a/drivers/sh/pm_runtime.c b/drivers/sh/pm_runtime.c
index a9bac3bf20de..c887ecdaf19b 100644
--- a/drivers/sh/pm_runtime.c
+++ b/drivers/sh/pm_runtime.c
@@ -34,15 +34,6 @@ static struct pm_clk_notifier_block platform_bus_notifier = {
34 34
35static int __init sh_pm_runtime_init(void) 35static int __init sh_pm_runtime_init(void)
36{ 36{
37 if (IS_ENABLED(CONFIG_OF) && IS_ENABLED(CONFIG_ARCH_SHMOBILE)) {
38 if (!of_find_compatible_node(NULL, NULL,
39 "renesas,cpg-mstp-clocks"))
40 return 0;
41 if (IS_ENABLED(CONFIG_PM_GENERIC_DOMAINS_OF) &&
42 of_find_node_with_property(NULL, "#power-domain-cells"))
43 return 0;
44 }
45
46 pm_clk_add_notifier(&platform_bus_type, &platform_bus_notifier); 37 pm_clk_add_notifier(&platform_bus_type, &platform_bus_notifier);
47 return 0; 38 return 0;
48} 39}