i2c: xgene-slimpro: Use a single function to send command message
authorHoan Tran <hotran@apm.com>
Mon, 24 Apr 2017 18:00:25 +0000 (11:00 -0700)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 2 Jun 2017 20:21:21 +0000 (22:21 +0200)
commitd140bd42b2ced34ce31e9e4384526ce159feabf1
tree352a1ed6772f38e4375ff409f6a5cf0996c68dbe
parent61e3d0f79d6eff1928222ec940b7982b99904857
i2c: xgene-slimpro: Use a single function to send command message

This patch refactors the code to use a single message function to
send command message.

Signed-off-by: Hoan Tran <hotran@apm.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-xgene-slimpro.c