]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: mv64xxx: directly call send_start when initializing transfer
authorWolfram Sang <wsa@the-dreams.de>
Thu, 13 Feb 2014 20:36:32 +0000 (21:36 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 10 Mar 2014 16:23:20 +0000 (17:23 +0100)
commit036264d426932c448794780679a3da6a1adaf824
tree90113e86138869df9f2466aabd6943a413153be5
parentbf90df7c3f72d4e4d753a1d5d2ae7f1690d2e82a
i2c: mv64xxx: directly call send_start when initializing transfer

Calling the state machine with a definite state which is only used in
this context is superfluous. Do it directly.

Tested-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-mv64xxx.c