]> rtime.felk.cvut.cz Git - linux-imx.git/commit
ASoC: AD1836: drop unnecessary spi register check
authorMike Frysinger <vapier@gentoo.org>
Wed, 15 Jun 2011 19:29:19 +0000 (15:29 -0400)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 16 Jun 2011 10:41:46 +0000 (11:41 +0100)
commit15e870512956a1e573d033b3bb6ffbf3237e9723
tree6322cfc1bd47ba0338d1b19784e06dfccbe13200
parent42f32c559131921f3bb014e0ac2107345f14887c
ASoC: AD1836: drop unnecessary spi register check

The only thing the init func does is register a spi driver, so if that
fails, we return the value back up to the caller who will display an
error message for us.  So drop the redundant checking/message.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/ad1836.c