Philippe Mathieu-Daudé <> writes:

> Simplify aspeed_i2c_get_bus() by using a AspeedI2CState argument.
> Signed-off-by: Philippe Mathieu-Daudé <>

The real motivation seems to be simplifying the callers: every single
one of them casts the argument from AspeedI2CState * to DeviceState *.
Pointing that out in the commit message wouldn't hurt.

Reviewed-by: Markus Armbruster <>

Reply via email to