]> git.proxmox.com Git - mirror_ubuntu-focal-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)
commitd9e3c4cc6801b03bce6dd31ba0e1a6acff8f8a1a
treee82f734773539f03b92eb52bb492114419747439
parent773b1d3d31bbf7257c48f6257b4ab06bcf4f5dfa
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