From: Thomas Petazzoni Date: Mon, 29 Oct 2012 15:45:46 +0000 (+0100) Subject: dma: mv_xor: split initialization/cleanup of XOR channels X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~12^2~1^2~6^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6b4a9d2c1063ffc52ca94b6c1b24f9b6d5b79c5;p=pandora-kernel.git dma: mv_xor: split initialization/cleanup of XOR channels Instead of doing the initialization/cleanup of the XOR channels directly in the ->probe() and ->remove() hooks, we create separate utility functions mv_xor_channel_add() and mv_xor_channel_remove(). This will allow to easily introduce in a future patch a different way of registering XOR channels: instead of having one platform_device per channel, we'll trigger the registration of all XOR channels of a given XOR engine directly from the XOR engine ->probe() function. Signed-off-by: Thomas Petazzoni --- Reading git-diff-tree failed