mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
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:
parent
58af42a447
commit
648b4c6c4c
1 changed files with 1 additions and 1 deletions
|
|
@ -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 ***/
|
||||
|
|
|
|||
Loading…
Reference in a new issue