提交 648b4c6c 编写于 作者: E Eduardo Valentin 提交者: Greg Kroah-Hartman

staging: omap-thermal: fix return value

Return the proper error value in _omap_bandgap_read_threshold.
Acked-by: NDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: NEduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 58af42a4
...@@ -566,7 +566,7 @@ int _omap_bandgap_read_threshold(struct omap_bandgap *bg_ptr, int id, ...@@ -566,7 +566,7 @@ int _omap_bandgap_read_threshold(struct omap_bandgap *bg_ptr, int id,
*val = temp; *val = temp;
exit: exit:
return 0; return ret;
} }
/*** Exposed APIs ***/ /*** Exposed APIs ***/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册