arm: tegra: Move driver files to drivers/platform
authorSumit Singh <sumsingh@nvidia.com>
Fri, 19 Sep 2014 09:39:51 +0000 (14:39 +0530)
committerBharat Nihalani <bnihalani@nvidia.com>
Mon, 29 Sep 2014 12:43:15 +0000 (05:43 -0700)
commit91edfb253da76a6c3071a1cefe7719cb2633d0b1
treefecff609642831cb91c05292dd48aeb91fbc4ca3
parent405b388fd7008c0dd65ad38c8b36dc84297de0a1
arm: tegra: Move driver files to drivers/platform

As a part of mach-tegra cleanup, move following driver
files from arch/arm/mach-tegra to drivers/platfrom/tegra.

The files getting moved are:
-common.c
-flowctrl.c
-reset.c
-cpu-tegra.c
-pm-t3.c
-sysfs-cluster.c

Also first move following header files from
arch/arm/mach-tegra to include/linux/platform/tegra:
-common.h
-flowctrl.h
-reset.h
-cpu-tegra.h
and perform related changes in the concerned files.

Note: use 'git log --follow filename' to see history
of the moved file.

Bug 200019329

Change-Id: I608aeb3e4a481a436e11fb13adc8172db8e0d549
Signed-off-by: Sumit Singh <sumsingh@nvidia.com>
Reviewed-on: http://git-master/r/500684
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
76 files changed:
arch/arm/mach-tegra/Makefile
arch/arm/mach-tegra/ahb.c
arch/arm/mach-tegra/board-ardbeg-panel.c
arch/arm/mach-tegra/board-ardbeg-power.c
arch/arm/mach-tegra/board-ardbeg-sensors.c
arch/arm/mach-tegra/board-ardbeg.c
arch/arm/mach-tegra/board-common.c
arch/arm/mach-tegra/board-dt-tegra20.c
arch/arm/mach-tegra/board-dt-tegra30.c
arch/arm/mach-tegra/board-laguna-power.c
arch/arm/mach-tegra/board-loki-panel.c
arch/arm/mach-tegra/board-loki-sensors.c
arch/arm/mach-tegra/board-loki.c
arch/arm/mach-tegra/board-norrin-power.c
arch/arm/mach-tegra/board-p1859.c
arch/arm/mach-tegra/board-p2360.c
arch/arm/mach-tegra/board-tn8-power.c
arch/arm/mach-tegra/board-tn8-sysedp.c
arch/arm/mach-tegra/cpu-tegra3.c
arch/arm/mach-tegra/cpuidle-t11x.c
arch/arm/mach-tegra/cpuquiet.c
arch/arm/mach-tegra/edp.c
arch/arm/mach-tegra/edp_core.c
arch/arm/mach-tegra/gpu-edp.c
arch/arm/mach-tegra/headsmp.S
arch/arm/mach-tegra/platsmp.c
arch/arm/mach-tegra/pm.c
arch/arm/mach-tegra/powergate.c
arch/arm/mach-tegra/sleep-t20.S
arch/arm/mach-tegra/sleep-t30.S
arch/arm/mach-tegra/sleep.S
arch/arm/mach-tegra/tegra12_speedo.c
arch/arm/mach-tegra/tegra13_speedo.c
arch/arm/mach-tegra/tegra2_emc.c
arch/arm/mach-tegra/tegra_volt_cap.c
arch/arm64/mach-tegra/board-dt-t210.c
arch/arm64/mach-tegra/board-t210ref-camera.c
arch/arm64/mach-tegra/board-t210ref-thermal.c
arch/arm64/mach-tegra/board-t210ref.c
arch/arm64/mach-tegra/denver-hardwood.c
arch/arm64/mach-tegra/platsmp.c
arch/arm64/mach-tegra/pm-tegra132.c
arch/arm64/mach-tegra/pm.c
arch/arm64/mach-tegra/reset-handler.S
arch/arm64/mach-tegra/tegra21_init.c
drivers/clocksource/tegra-tsc-timer.c
drivers/cpuidle/cpuidle-tegra210.c
drivers/platform/tegra/Makefile
drivers/platform/tegra/clock.c
drivers/platform/tegra/common.c [moved from arch/arm/mach-tegra/common.c with 99% similarity]
drivers/platform/tegra/common_link.c [deleted file]
drivers/platform/tegra/cpu-tegra.c [moved from arch/arm/mach-tegra/cpu-tegra.c with 99% similarity]
drivers/platform/tegra/cpu-tegra_link.c [deleted file]
drivers/platform/tegra/flowctrl.c [moved from arch/arm/mach-tegra/flowctrl.c with 96% similarity]
drivers/platform/tegra/flowctrl_link.c [deleted file]
drivers/platform/tegra/iommu.c
drivers/platform/tegra/mc/tegra12_emc.c
drivers/platform/tegra/mc/tegra21_emc.c
drivers/platform/tegra/mc/tegra_emc_dt_parse.c
drivers/platform/tegra/pm-t3.c [moved from arch/arm/mach-tegra/pm-t3.c with 99% similarity]
drivers/platform/tegra/pm-t3_link.c [deleted file]
drivers/platform/tegra/reset.c [moved from arch/arm/mach-tegra/reset.c with 97% similarity]
drivers/platform/tegra/reset_link.c [deleted file]
drivers/platform/tegra/sysfs-cluster.c [moved from arch/arm/mach-tegra/sysfs-cluster.c with 99% similarity]
drivers/platform/tegra/sysfs-cluster_link.c [deleted file]
drivers/platform/tegra/tegra12_clocks.c
drivers/platform/tegra/tegra21_clocks.c
drivers/platform/tegra/tegra21_speedo.c
drivers/platform/tegra/tegra_soctherm.c
drivers/platform/tegra/tegra_throttle.c
drivers/usb/phy/phy-tegra-usb.c
drivers/video/tegra/nvmap/nvmap_init.c
include/linux/platform/tegra/common.h [moved from arch/arm/mach-tegra/common.h with 100% similarity]
include/linux/platform/tegra/cpu-tegra.h [moved from arch/arm/mach-tegra/cpu-tegra.h with 98% similarity]
include/linux/platform/tegra/flowctrl.h [moved from arch/arm/mach-tegra/flowctrl.h with 98% similarity]
include/linux/platform/tegra/reset.h [moved from arch/arm/mach-tegra/reset.h with 99% similarity]