git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0b0c8c
)
dmaengine: use DEFINE_IDR for static initialization
author
Axel Lin
<axel.lin@gmail.com>
Wed, 20 Jul 2011 03:32:28 +0000
(11:32 +0800)
committer
Dan Williams
<dan.j.williams@intel.com>
Thu, 4 Aug 2011 05:25:39 +0000
(22:25 -0700)
We could use DEFINE_IDR for statically allocated idr
that allow us to save a few lines of code.
And also remove unneeded mutex_init() for dma_list_mutex, as
dma_list_mutex is initialized automatically by DEFINE_MUTEX().
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
No differences found