i2c: exynos5: simplify transfer function
authorAndrzej Hajda <a.hajda@samsung.com>
Fri, 11 May 2018 09:33:07 +0000 (11:33 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 15 May 2018 08:43:38 +0000 (10:43 +0200)
commit043056270b77cd63370923138d857afb3f96cdec
treef143634e124d060c83e183194ed5a7d2996356e2
parent4fad8868afe7b168c34fab3d959d875f4f8b3624
i2c: exynos5: simplify transfer function

exynos5_i2c_xfer contains lots of dead code, let's remove it and simplify
the rest. The patch should not introduce functional changes.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Suggested-by: Peter Rosin <peda@axentia.se>
Reviewed-by: Andi Shyti <andi@etezian.org>
Reviewed-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-exynos5.c