commit | 7b4e467d2f995702ad473cacd05a00a744a43cc5 | [log] [tgz] |
---|---|---|
author | Krzysztof Kozlowski <krzk@kernel.org> | Fri Jun 21 18:21:16 2019 +0200 |
committer | Qiang Yu <yuq825@gmail.com> | Sun Jun 23 11:23:18 2019 +0800 |
tree | e69486e743d04dfd01a48ccbbb035f3f389154b6 | |
parent | 34e88f9e2fff2d46a206e4d94c9e8fdf45b85d9a [diff] |
drm/lima: Reduce number of PTR_ERR() calls Store the PTR_ERR() result in local variable in clock init error path. This makes the code consistent with similar section in regulator init code. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Qiang Yu <yuq825@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190621162117.22533-3-krzk@kernel.org