i2c: meson: remove meson_i2c_write_tokens
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 25 Mar 2017 13:12:04 +0000 (14:12 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 30 Mar 2017 15:31:22 +0000 (17:31 +0200)
commit3911764cfbe7f5d229498d818aa2eff6e5611da8
tree045434604ea6eacf454facd2514951a6afd10457
parent3f205d7b47611f82316776c9ef7317525242307b
i2c: meson: remove meson_i2c_write_tokens

meson_i2c_write_tokens is always called directly after
meson_i2c_prepare_xfer (and only then). So we can simplify the code by
removing meson_i2c_write_tokens and moving the two statements of
meson_i2c_write_tokens to the end of meson_i2c_prepare_xfer.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-meson.c