i2c: octeon: Add platform prefix to macros
authorPiyush Malgujar <pmalgujar@marvell.com>
Tue, 23 Apr 2024 07:46:06 +0000 (00:46 -0700)
committerAndi Shyti <andi.shyti@kernel.org>
Sun, 5 May 2024 22:56:40 +0000 (00:56 +0200)
commit0b042c72d90de2f53d6d6d768158614f4b717b16
tree8dbacb0174597961b95cddae2476925fe85ae0b9
parent03240f826b02929476abd7c3a3cc132cc65c8614
i2c: octeon: Add platform prefix to macros

The macros for TWSI register's offset are generically
named, rename them to be platform specific macros by
adding 'OCTEON_REG' as prefix.

Signed-off-by: Piyush Malgujar <pmalgujar@marvell.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
drivers/i2c/busses/i2c-octeon-core.c
drivers/i2c/busses/i2c-octeon-core.h