staging: omap-thermal: fix return value
authorEduardo Valentin <eduardo.valentin@ti.com>
Tue, 19 Mar 2013 14:54:17 +0000 (10:54 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2013 18:23:23 +0000 (11:23 -0700)
commit648b4c6c4cdff112c905b4c72e095d913b856165
tree08ef44e6a2cea8658965f113ceae03ffa3cb8434
parent58af42a447688002e43b1476bf0aa8e50e74fe29
staging: omap-thermal: fix return value

Return the proper error value in _omap_bandgap_read_threshold.

Acked-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/omap-thermal/omap-bandgap.c