ASoC: samsung: i2s: Add get_other_dai helper function
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Wed, 14 Jan 2015 18:42:33 +0000 (19:42 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 14 Jan 2015 19:46:54 +0000 (19:46 +0000)
commitdcd60fc3445329d738a23ab7997717491c2f4cec
tree0359d50544616efd303a39cca0ec2b8115ad697e
parentc92f1d0e7c8431f8b3bf1d42e951ead07b22078e
ASoC: samsung: i2s: Add get_other_dai helper function

The code to get pointer to the other DAI is repeated multiple
times. Add a helper function and use it instead.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/samsung/i2s.c
This page took 0.025901 seconds and 5 git commands to generate.