From: Wolfram Sang Date: Wed, 28 May 2014 07:44:41 +0000 (+0200) Subject: i2c: rcar: refactor setting up msg X-Git-Tag: omap-for-v3.16/fixes-against-rc1~91^2~5^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=386babf8e2f7dd483f88e5c0c4c761346b750185;p=pandora-kernel.git i2c: rcar: refactor setting up msg Setting up a read or write message is similar enough to be done in one function. Also, move a helper function into the new function since it is only used here. Signed-off-by: Wolfram Sang Acked-by: Kuninori Morimoto Acked-by: Geert Uytterhoeven Signed-off-by: Wolfram Sang --- Reading git-diff-tree failed