hw/i2c/npcm7xx_smbus: Simplify npcm7xx_smbus_init()
commit5dfbfefaada495b9a65382d64f06325fd802c717
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 28 Feb 2021 22:48:13 +0000 (28 23:48 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 5 Mar 2021 15:17:34 +0000 (5 15:17 +0000)
treef7c59c307dc9fb201c8be1e6429f410f439f6426
parent519183d3fee58e52f7b51cf146c9dc9edc565059
hw/i2c/npcm7xx_smbus: Simplify npcm7xx_smbus_init()

The STATUS register will be reset to IDLE in
cnpcm7xx_smbus_enter_reset(), no need to preset
it in instance_init().

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Hao Wu <wuhaotsh@google.com>
Message-id: 20210228224813.312532-1-f4bug@amsat.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/i2c/npcm7xx_smbus.c