From: Axel Lin Date: Wed, 20 Jul 2011 03:32:28 +0000 (+0800) Subject: dmaengine: use DEFINE_IDR for static initialization X-Git-Tag: v3.1-rc1~30^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21ef4b8b7a7d59a995bf44382de38c95587767d4;p=pandora-kernel.git 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 Signed-off-by: Dan Williams --- Reading git-diff-tree failed