-
由 Baolin Wang 提交于
The commit 4f1acd75 ("hwspinlock: Add devm_xxx() APIs to request/free hwlock") introduces one bug, that will return one error pointer if failed to request one hwlock, but we expect NULL pointer on error for consumers. This patch will fix this issue. Reported-by: NDan Carpenter <dan.carpenter@oracle.com> Signed-off-by: NBaolin Wang <baolin.wang@linaro.org> Signed-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
ddb34f48