Files
xemu/include/hw
Philippe Mathieu-Daudé 7a204cbdc2 hw/i2c/aspeed_i2c: Simplify aspeed_i2c_get_bus()
All the callers of aspeed_i2c_get_bus() have a AspeedI2CState and
cast it to a DeviceState with DEVICE(), then aspeed_i2c_get_bus()
cast the DeviceState to an AspeedI2CState with ASPEED_I2C()...

Simplify aspeed_i2c_get_bus() callers by using AspeedI2CState
argument.

Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20200705224154.16917-2-f4bug@amsat.org>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
2020-07-16 12:30:54 -05:00
..
2020-06-24 17:18:28 -04:00
…
…
2020-04-30 11:52:27 +01:00
2020-06-26 09:39:40 -04:00
2020-07-06 17:01:11 +02:00
…
…
…
…
2020-07-03 07:57:04 -04:00
…
2020-05-04 10:25:02 -04:00
2020-06-22 18:37:12 +02:00
2020-05-15 07:08:14 +02:00
…
…
…
…
2020-06-15 22:05:28 +02:00