i2c: npcm7xx: Group bank 0/1 registers together for readability
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>
Sat, 8 Oct 2022 12:59:23 +0000 (14:59 +0200)
committerWolfram Sang <wsa@kernel.org>
Tue, 1 Nov 2022 12:43:41 +0000 (13:43 +0100)
commita826b6e9e467ed378a2c50c4a03cb863ab681198
tree421dd01426b203839641a5270b8fe56154f5d04c
parente0b7afc0eba88e8270860a573fe4ea28fe2d467c
i2c: npcm7xx: Group bank 0/1 registers together for readability

The unlabelled registers NPCM_I2CCTL4 to NPCM_I2CSCLHT overlap with the
bank 1 registers below, and they are accessed after selecting bank 0, so
they clearly belong to bank 0.

Move them together with the other bank 0 registers, and move the
unrelated definition of npcm_i2caddr down to keep the banked registers
in one piece.

Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-by: Tali Perry <tali.perry1@gmail.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-npcm7xx.c