From: Jonas Bonn Date: Fri, 11 Jun 2010 02:47:40 +0000 (+0000) Subject: ethoc: use devres resource management X-Git-Tag: v2.6.36-rc1~571^2~608 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a71fba97295db924c0b90266e9833e5059fead24;p=pandora-kernel.git ethoc: use devres resource management The point of using the devres resource management routines is that they simplify the driver by taking care of releasing resources on failure and release. A recent commit added a bunch of error handling that is unnecessary in this context. This patch removes this redundant error handling, as well as using dmam_alloc_coherent in place of dma_alloc_coherent in order to use this framework consistenly throughout the driver. Signed-off-by: Jonas Bonn Signed-off-by: David S. Miller --- Reading git-diff-tree failed