ARM: tegra: emc: convert tegra2_emc to a platform driver
authorOlof Johansson <olof@lixom.net>
Sun, 16 Oct 2011 23:54:51 +0000 (16:54 -0700)
committerOlof Johansson <olof@lixom.net>
Tue, 7 Feb 2012 02:24:59 +0000 (18:24 -0800)
commit17711dbf4788ded84470941ff63a7029f73ca654
tree2a728096b0c3c67299bf47fb9a0069c7fbb9e67a
parentdee47183301983139fd0ed784d0defe0ba08f8f6
ARM: tegra: emc: convert tegra2_emc to a platform driver

This is the first step in making it device-tree aware and get rid of the
in-kernel EMC tables (of which there are none in mainline, thankfully).

Changes since v3:

* moved to devm_request_and_ioremap() in probe()

Changes since v2:

* D'oh -- missed a couple of variables that were added, never used and then
  later removed in a later patch.

Changes since v1:

* Fixed messed up indentation
* Removed code that should be gone (was added here and removed later in series)

Signed-off-by: Olof Johansson <olof@lixom.net>
Acked-by: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-tegra/tegra2_emc.c
arch/arm/mach-tegra/tegra2_emc.h
include/linux/platform_data/tegra_emc.h [new file with mode: 0644]