i2c: pxa: use official address byte helper
authorRussell King <rmk+kernel@armlinux.org.uk>
Mon, 27 Apr 2020 18:48:36 +0000 (19:48 +0100)
committerWolfram Sang <wsa@kernel.org>
Tue, 5 May 2020 12:49:54 +0000 (14:49 +0200)
commit868d4d37a2c64e2b44b05c89500b2b39421d3adb
tree52357f42d6319bfc065595fbe3e89a34b10ac529
parentde51696cf5ec9dc834b35b343c45e90091755d06
i2c: pxa: use official address byte helper

i2c-pxa was created before i2c_8bit_addr_from_msg() was implemented,
and used its own i2c_pxa_addr_byte() which is functionally the same.
Sadly, it was never updated to use this new helper. Switch it over.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-pxa.c