commit | 386babf8e2f7dd483f88e5c0c4c761346b750185 | [log] [tgz] |
---|---|---|
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | Wed May 28 09:44:41 2014 +0200 |
committer | Wolfram Sang <wsa@the-dreams.de> | Sun Jun 01 22:22:38 2014 +0200 |
tree | 0698b4b6aaea1f9c5ce3a60b1387e8b65d222e65 | |
parent | 3f7de22eb28244fc79bc744d9f51d018da343962 [diff] |
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 <wsa+renesas@sang-engineering.com> Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>