OSDN Git Service

hw/intc/exynos4210_gic: Use more meaningful name for local variable
authorKrzysztof Kozlowski <krzk@kernel.org>
Tue, 13 Jun 2017 13:56:56 +0000 (14:56 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 13 Jun 2017 13:56:56 +0000 (14:56 +0100)
commitee78356eba8df05043bac392c263450db5e7eed6
tree9f90a5c82a8f00e71ca9d92cd04a00b33edcc35c
parent735286a4f88255e1463d42ce28d8d14181fd32d4
hw/intc/exynos4210_gic: Use more meaningful name for local variable

There are to SysBusDevice variables in exynos4210_gic_realize()
function: one for the device itself and second for arm_gic device.  Add
a prefix "gic" to the second one so it will be easier to understand the
code.

While at it, put local uninitialized 'i' variable at the end, next to
other uninitialized ones.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/intc/exynos4210_gic.c