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>
This commit is contained in:
Eduardo Valentin 2013-03-19 10:54:17 -04:00 committed by Greg Kroah-Hartman
parent 58af42a447
commit 648b4c6c4c
1 changed files with 1 additions and 1 deletions

View File

@ -566,7 +566,7 @@ int _omap_bandgap_read_threshold(struct omap_bandgap *bg_ptr, int id,
*val = temp;
exit:
return 0;
return ret;
}
/*** Exposed APIs ***/