i2c-axxia: dedicated function to set client addr
authorAdamski, Krzysztof (Nokia - PL/Wroclaw) <krzysztof.adamski@nokia.com>
Mon, 10 Dec 2018 15:00:52 +0000 (15:00 +0000)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 11 Dec 2018 19:58:59 +0000 (20:58 +0100)
commiteb9907789ac373fc122c4b3a3c2d3f061d9ee922
tree361af36ab47126b59ecbaa974bd555ed527074fd
parent66693960f574aa830986e1603657af36423b24eb
i2c-axxia: dedicated function to set client addr

This patch moves configuration of hardware registers used for setting
i2c client address to separate function. It is preparatory change for
next commit.

Signed-off-by: Krzysztof Adamski <krzysztof.adamski@nokia.com>
Reviewed-by: Alexander Sverdlin <alexander.sverdlin@nokia.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-axxia.c