diff options
author | Yong Wu <[email protected]> | 2022-01-13 19:10:55 +0800 |
---|---|---|
committer | Krzysztof Kozlowski <[email protected]> | 2022-01-25 17:51:51 +0100 |
commit | a6945f4566d4f77a4054720f6649ff921fe1ae64 (patch) | |
tree | 08cc889821b7fed0dfc57a65c3ee3bd5b1bb175f /net/lapb/lapb_subr.c | |
parent | 6d86f23c35fe7b479ceef4d3f1eef925996945fd (diff) |
memory: mtk-smi: handle positive return value for clk_bulk_prepare_enable
Function clk_bulk_prepare_enable() returns 0 for success or a negative
number for error, although the common style for the callers is to check
always for any non-zero return value (just like its implementation in
clk.h does). Adjust the code to such coding style.
Signed-off-by: Yong Wu <[email protected]>
Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[krzysztof: rewrite commit msg]
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions