hw/gpio/omap_gpio: Add local variable to avoid embedded cast
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 9 Jan 2023 14:02:54 +0000 (15:02 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 12 Jan 2023 17:15:09 +0000 (17:15 +0000)
commit28180159ecf38d097475a5429474a4be9d2a24b8
tree0cf9df2016bcb17fdc2ffee353dacdcb682ce7f0
parentc4d15af196a91132a9a2144ab0e187fb60c6a65f
hw/gpio/omap_gpio: Add local variable to avoid embedded cast

Add a local 'struct omap_gpif_s *' variable to improve readability.
(This also eases next commit conversion).

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20230109140306.23161-3-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/gpio/omap_gpio.c