]> asedeno.scripts.mit.edu Git - linux.git/commit
i2c: sh_mobile: remove get_data function
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Wed, 16 Jan 2019 21:05:50 +0000 (22:05 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 22 Jan 2019 23:18:07 +0000 (00:18 +0100)
commit1f32fbdfc1e0af25c8f8572284c5d17d1cbcf9d7
tree950af7f130eaea193578d3ceec3bbe9ea24c7206
parent5b3e3b43b03bf84f1656c2f7afda6b73f945cc82
i2c: sh_mobile: remove get_data function

It makes the code much easier comprehensible to explicitly code that the
first byte will be client address and all the following bytes are the
actual data.

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