commit | b003d45b37b2d2c682f279e6fd5a9254b8ddc244 | [log] [tgz] |
---|---|---|
author | Sarangdhar Joshi <spjoshi@codeaurora.org> | Mon Jan 23 17:48:48 2017 -0800 |
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | Mon Jan 30 14:18:40 2017 -0800 |
tree | 09bddf1c64e079476e674867a87d6fcce7cf0955 | |
parent | 90a068ed3fc93e088d8a216826e33b0c14edec59 [diff] |
remoteproc: Move rproc_delete_debug_dir() to rproc_del() The "remoteproc{0,1...}" sysfs entries are added in rproc_add() and deleted in rproc_type_release() instead of in rproc_del(). That leaves these lingering entries sticking around after we return from rproc_del(). Move the rproc_delete_debug_dir() to rproc_del() to fix this. Signed-off-by: Sarangdhar Joshi <spjoshi@codeaurora.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>