staging: ti-soc-thermal: propagate error code
authorEduardo Valentin <eduardo.valentin@ti.com>
Tue, 19 Mar 2013 14:54:28 +0000 (10:54 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2013 18:28:32 +0000 (11:28 -0700)
commitd52361c6bd05488f8da3f4ac328b1f8df1701e96
tree39dd98710e4163f9ddffa9069d3e149c34ed2696
parent0fb3c244fe506d1c0e6138890685c1d5e8cd29e2
staging: ti-soc-thermal: propagate error code

While writing talert thresholds, propagate the error code from
ti_bandgap_update_alert_threshold to the caller of
_ti_bandgap_write_threshold.

Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ti-soc-thermal/ti-bandgap.c