diff options
author | Bjorn Andersson <bjorn.andersson@linaro.org> | 2016-11-19 22:42:55 -0800 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2016-11-19 22:47:36 -0800 |
commit | 90a80d88d2aac41f658ae4260ea259a292f95cb1 (patch) | |
tree | 41d1e4ef18e47b8691922f7aa5f7ee4b53f0bf9f /drivers/remoteproc/qcom_adsp_pil.c | |
parent | 6242347226c6540b47c1366aa8faf74ffa5a8b7d (diff) | |
download | lwn-90a80d88d2aac41f658ae4260ea259a292f95cb1.tar.gz lwn-90a80d88d2aac41f658ae4260ea259a292f95cb1.zip |
remoteproc: Update last rproc_put users to rproc_free
The transition from rproc_put to rproc_free raced with the review of the
Qualcomm ADSP and ST SLIMproc drivers and these where not updated
accordingly.
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/remoteproc/qcom_adsp_pil.c')
-rw-r--r-- | drivers/remoteproc/qcom_adsp_pil.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/remoteproc/qcom_adsp_pil.c b/drivers/remoteproc/qcom_adsp_pil.c index cec09911384f..43a4ed2f346c 100644 --- a/drivers/remoteproc/qcom_adsp_pil.c +++ b/drivers/remoteproc/qcom_adsp_pil.c @@ -391,7 +391,7 @@ static int adsp_probe(struct platform_device *pdev) return 0; free_rproc: - rproc_put(rproc); + rproc_free(rproc); return ret; } @@ -402,7 +402,7 @@ static int adsp_remove(struct platform_device *pdev) qcom_smem_state_put(adsp->state); rproc_del(adsp->rproc); - rproc_put(adsp->rproc); + rproc_free(adsp->rproc); return 0; } |