commit | ce6ffeaed0872fb7a5e0f0ce164f5493956fb0f3 | [log] [tgz] |
---|---|---|
author | Philippe Mathieu-Daudé <philmd@linaro.org> | Mon Feb 20 11:42:46 2023 +0100 |
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | Mon Feb 27 22:29:02 2023 +0100 |
tree | b434bdec9ff806214d6adf83c4322fce43a38380 | |
parent | ef177ee12281b4bdfc5950bbaa8b3a6ff71331cc [diff] |
hw/usb/uhci: Replace container_of() by UHCI_GET_CLASS() QOM macro By using the QOM UHCI_GET_CLASS() cast macro we don't to use the intermediate PCIDeviceClass variable. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230220150515.32549-6-philmd@linaro.org>