projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adaedbd
)
remoteproc: don't use idr_remove_all()
author
Tejun Heo
<tj@kernel.org>
Thu, 28 Feb 2013 01:03:42 +0000
(17:03 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Thu, 28 Feb 2013 03:10:13 +0000
(19:10 -0800)
idr_destroy() can destroy idr by itself and idr_remove_all() is being
deprecated. Drop its usage.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Ohad Ben-Cohen <ohad@wizery.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/remoteproc/remoteproc_core.c
patch
|
blob
|
history
diff --git
a/drivers/remoteproc/remoteproc_core.c
b/drivers/remoteproc/remoteproc_core.c
index
dd3bfaf
..
634d367
100644
(file)
--- a/
drivers/remoteproc/remoteproc_core.c
+++ b/
drivers/remoteproc/remoteproc_core.c
@@
-1180,7
+1180,6
@@
static void rproc_type_release(struct device *dev)
rproc_delete_debug_dir(rproc);
- idr_remove_all(&rproc->notifyids);
idr_destroy(&rproc->notifyids);
if (rproc->index >= 0)