Christophe JAILLET 8333eb153a w1: omap_hdq: Free resources on error path
In case of error returned by '_omap_hdq_reset()', free resources as done
elsewhere in this function.

This patch slighly changes the semantic of the code. It now propagates the
error code returned by '_omap_hdq_reset()' instead of returning -EINVAL
unconditionally.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-01-25 11:46:42 +01:00
..
2014-06-19 17:46:51 -07:00
2011-08-25 16:25:33 -07:00
2016-05-01 14:04:19 -07:00
2014-06-19 17:46:51 -07:00
2014-11-26 19:09:01 -08:00
2016-08-31 13:56:05 +02:00