ASoC: wm8940: remove unnecessary if statements
authorGreg Dietsche <Gregory.Dietsche@cuw.edu>
Mon, 6 Jun 2011 20:53:01 +0000 (15:53 -0500)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 7 Jun 2011 08:47:40 +0000 (09:47 +0100)
commitbca6b39979dfe0b2d14a3ca35e2930f5d9c8e3f5
tree308e3f362430ec3a6c15e71cfbf99e9063b968fe
parent46758dee727348d3648c83445d10ded321376543
ASoC: wm8940: remove unnecessary if statements

removing unnecessary if(ret) checks

This updated patch corrects a minor spelling problem in the commit message
and resolves two other (similar) issues found in wm8940.c by Jonathan Cameron.

Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8940.c