commit | e37868f14416bc5f22235dce073c496381d349c3 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Jun 17 17:15:10 2021 +0300 |
committer | Geert Uytterhoeven <geert+renesas@glider.be> | Mon Jul 19 10:53:52 2021 +0200 |
tree | 657432f1065473caa72776692ce52c8a66d6a305 | |
parent | 36aaa3a0d9bc13e302dc146a20f022fb6891b605 [diff] |
clk: renesas: rzg2l: Avoid mixing error pointers and NULL These functions accidentally return both error pointers and NULL when there is an error. It doesn't cause a problem but it is confusing and seems unintentional. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Link: https://lore.kernel.org/r/YMtY7nOtqEvTokh7@mwanda Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>