diff options
author | Stephen Warren <swarren@nvidia.com> | 2013-02-15 19:07:32 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-03-03 22:22:22 -0500 |
commit | 078e027386b2fdeb154393eb87a5b325d0937ed9 (patch) | |
tree | 2123657a26c839f5aed1a20fc521e04b5551ddd4 /sound/soc/tegra/tegra_wm9712.c | |
parent | bddd7d0230deb3fbc2cb32e0af04f7cf46397e9e (diff) |
ASoC: tegra_wm9712: assume CONFIG_OF
Tegra only supports, and always enables, device tree. Remove all runtime
checks for DT support from the driver.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/tegra/tegra_wm9712.c')
-rw-r--r-- | sound/soc/tegra/tegra_wm9712.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sound/soc/tegra/tegra_wm9712.c b/sound/soc/tegra/tegra_wm9712.c index 68d42403d9b5..ce98e5b28360 100644 --- a/sound/soc/tegra/tegra_wm9712.c +++ b/sound/soc/tegra/tegra_wm9712.c | |||
@@ -79,11 +79,6 @@ static int tegra_wm9712_driver_probe(struct platform_device *pdev) | |||
79 | struct tegra_wm9712 *machine; | 79 | struct tegra_wm9712 *machine; |
80 | int ret; | 80 | int ret; |
81 | 81 | ||
82 | if (!pdev->dev.of_node) { | ||
83 | dev_err(&pdev->dev, "No platform data supplied\n"); | ||
84 | return -EINVAL; | ||
85 | } | ||
86 | |||
87 | machine = devm_kzalloc(&pdev->dev, sizeof(struct tegra_wm9712), | 82 | machine = devm_kzalloc(&pdev->dev, sizeof(struct tegra_wm9712), |
88 | GFP_KERNEL); | 83 | GFP_KERNEL); |
89 | if (!machine) { | 84 | if (!machine) { |