]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit24e0838e69f357c5b51f5e6cecc66d55bd09e522
tree39dd98710e4163f9ddffa9069d3e149c34ed2696
parentc7016c2c4f79b9c93ea6276de5e64839d1934c9e
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