i2c: sh_mobile: remove is_first_byte function
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Wed, 16 Jan 2019 21:05:52 +0000 (22:05 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 22 Jan 2019 23:18:08 +0000 (00:18 +0100)
commite659f36d46904b5e0e860401c0454fcf6025f419
treec880c4d269a991c894068d87b2c7a93975d27b0d
parentd16f2bfea3cc3ebc8d1d45bc24d4f9f2c852dddd
i2c: sh_mobile: remove is_first_byte function

All state machines deal with pd->pos values. This helper function is an
exception and makes it only more confusing.

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