|
From: | Richard Henderson |
Subject: | Re: [PATCH 1/8] hw/gpio/max7310: Simplify max7310_realize() |
Date: | Mon, 20 Feb 2023 08:49:25 -1000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 |
On 2/20/23 01:51, Philippe Mathieu-Daudé wrote:
Since &I2C_SLAVE(dev)->qdev == dev, no need to go back and forth with QOM type casting. Directly use 'dev'. Signed-off-by: Philippe Mathieu-Daudé<philmd@linaro.org> --- hw/gpio/max7310.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
[Prev in Thread] | Current Thread | [Next in Thread] |