From: Andy Shevchenko Date: Thu, 6 Feb 2014 11:25:40 +0000 (+0200) Subject: acpi-dma: convert to return error code when asked for channel X-Git-Tag: v3.15-rc1~39^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f6a928d035b82c0b3aa387d510a73f3e6dbf8e3;p=pandora-kernel.git acpi-dma: convert to return error code when asked for channel Currently acpi_dma_request_slave_chan_by_index() and acpi_dma_request_slave_chan_by_name() return only requested channel or NULL. This patch converts them to return appropriate error code instead of NULL in case of unsuccessfull request. Signed-off-by: Andy Shevchenko Acked-by: Mika Westerberg Signed-off-by: Vinod Koul --- Reading git-diff-tree failed