]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Tegra: wm8903 probe: Don't call machine_is_*()
authorStephen Warren <swarren@nvidia.com>
Tue, 19 Apr 2011 21:25:07 +0000 (15:25 -0600)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 20 Apr 2011 12:49:35 +0000 (13:49 +0100)
commit8d76ce89e6c8cec1ddef0914537f9783e61f09f7
treee82f734773539f03b92eb52bb492114419747439
parent1fa743997630dc425dc9fe270acf7ab5f1b41339
ASoC: Tegra: wm8903 probe: Don't call machine_is_*()

This machine driver is a platform driver, and hence will only be
instantiated on the correct machines. Hence, there is no need to
check the current machine during probe.

(Applying Mark's TrimSlice review comments to the existing driver)

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/tegra/tegra_wm8903.c