ASoC: uda1380: Convert to gpio_request_one()
authorAxel Lin <axel.lin@gmail.com>
Sun, 4 Dec 2011 23:58:25 +0000 (07:58 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 5 Dec 2011 13:24:49 +0000 (13:24 +0000)
commit68020db8ac1046e50c758545b75850eb356a0651
tree25c8180e9480052041b79bc5c8733dd2b1a649e4
parentaec60f51e5127fb750b66eb7905047c67372177f
ASoC: uda1380: Convert to gpio_request_one()

Using gpio_request_one can make the error handling simpler.

Also remove a redundant "Failed to issue reset" error message.
We already show the error message in uda1380_reset() error path.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/uda1380.c