i2c: sh_mobile: refactor DMA setup
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 16 Dec 2014 12:31:25 +0000 (13:31 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 17 Dec 2014 18:26:07 +0000 (19:26 +0100)
commite844a7997dfbce687c7afa9d40f8a3b278e08735
tree10b94485c39112e0bdd4b81f1360bea1a281a2cc
parent00d8689b85a7bb37cc57ba4c40bd46325f51ced4
i2c: sh_mobile: refactor DMA setup

Refactor DMA setup to keep the errno so we can implement better
deferred probe support in the next step.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-sh_mobile.c