From: Stephen Warren Date: Sat, 16 Feb 2013 00:07:35 +0000 (-0700) Subject: ASoC: tegra_wm8903: assume CONFIG_OF, remove platform data X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~52^2~42^2~7^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f5f5e0f459d37273f841e3f8da38b4e242c8e94;p=pandora-kernel.git ASoC: tegra_wm8903: assume CONFIG_OF, remove platform data Tegra only supports, and always enables, device tree. Remove all runtime checks for DT support from the driver. This allows removal of the hard-coded Harmony ASoC mapping table, since Harmony only boots with DT now. All board-specific configuration now comes from device tree, so there is no need to have a platform_data structure. Rework the driver to parse the device tree directly into struct tegra_wm8903. Also some slight re-ordering of probe() so that the code more closely resembles other drivers for easier comparison. Inparticular, the GPIO DT parsing and initial programming are moved together for each GPIO. Signed-off-by: Stephen Warren Signed-off-by: Mark Brown --- Reading git-diff-tree failed