commit | 21ef4b8b7a7d59a995bf44382de38c95587767d4 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Wed Jul 20 11:32:28 2011 +0800 |
committer | Dan Williams <dan.j.williams@intel.com> | Wed Aug 03 22:25:39 2011 -0700 |
tree | c658c556af756d7a7eec889810d185c7afca7088 | |
parent | d0b0c8c79b26a1f48e1e92a2c073655159e72b7c [diff] |
dmaengine: use DEFINE_IDR for static initialization 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>