mmc: tegra: move pad_init_mmc() into MMC driver
authorStephen Warren <swarren@nvidia.com>
Tue, 13 Sep 2016 16:45:44 +0000 (10:45 -0600)
committerTom Warren <twarren@nvidia.com>
Tue, 27 Sep 2016 16:11:01 +0000 (09:11 -0700)
commit6b83588eea77c6fe69c11ba9e5eb2df071b1dadc
treeea531251ee29b1d93686754252c1f33e5355caee
parent67748a73b14b239283bc1ace7564a124b714b75e
mmc: tegra: move pad_init_mmc() into MMC driver

pad_init_mmc() is performing an SoC-specific operation, using registers
within the MMC controller. There's no reason to implement this code
outside the MMC driver, so move it inside the driver.

Cc: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/include/asm/arch-tegra/tegra_mmc.h
arch/arm/mach-tegra/board186.c
arch/arm/mach-tegra/board2.c
drivers/mmc/tegra_mmc.c