commit | 9cf247473167df29a3d99464385b4afe1fc16f2f | [log] [tgz] |
---|---|---|
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | Wed Jan 14 19:42:28 2015 +0100 |
committer | Mark Brown <broonie@kernel.org> | Wed Jan 14 19:46:53 2015 +0000 |
tree | aed74abfcf041b897bb5be228ff50c09f1f53cc3 | |
parent | fce091ee0a7f25108c7ab3eb06b9e436b7aeac11 [diff] |
ASoC: samsung: i2s: samsung_i2s_get_driver_data() cleanup Tidy up the samsung_i2s_get_driver_data() function by using IS_ENABLE() instead of #ifdef and add missing braces for the 'else' part. Also ensure we are not dereferencing NULL 'match' pointer. Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mark Brown <broonie@kernel.org>