]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1c07b1b1b22bada1df940e4200ac64ca1c387a7a
tree52357f42d6319bfc065595fbe3e89a34b10ac529
parentb89eca8d0bedaacb633e19118d2a86df7aab9230
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