i2c:smbus_eeprom: Add normal type name and cast to smbus_eeprom.c
commitb398a92440ef8283532b0cd3ec0197993232f28f
authorCorey Minyard <cminyard@mvista.com>
Thu, 8 Nov 2018 17:31:31 +0000 (8 11:31 -0600)
committerCorey Minyard <cminyard@mvista.com>
Thu, 28 Feb 2019 03:06:08 +0000 (27 21:06 -0600)
treefa429775d4fc212aadbe2c488daff23920bc43d1
parent547db24a17c22c47f762aae3a0a6f518f574e7f2
i2c:smbus_eeprom: Add normal type name and cast to smbus_eeprom.c

Create a type name and a cast macro and use those through the
code.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
hw/i2c/smbus_eeprom.c