ARM: 6059/1: PL061 GPIO: Changing *_irq_chip_data with *_irq_data for real irqs.

PL061 driver is using set_irq_chip_data and get_irq_chip_data for real
irq lines. It must be using *_irq_data functions instead. As chip_data
is used by interrupt controllers also, which makes vic write at incorrect
addresses.

Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Acked-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by

viresh kumar and committed by
Russell King
9a99d555 313af42b

+3 -3
+3 -3
drivers/gpio/pl061.c
··· 204 204 205 205 static void pl061_irq_handler(unsigned irq, struct irq_desc *desc) 206 206 { 207 - struct list_head *chip_list = get_irq_chip_data(irq); 207 + struct list_head *chip_list = get_irq_data(irq); 208 208 struct list_head *ptr; 209 209 struct pl061_gpio *chip; 210 210 ··· 297 297 goto iounmap; 298 298 } 299 299 INIT_LIST_HEAD(chip_list); 300 - set_irq_chip_data(irq, chip_list); 300 + set_irq_data(irq, chip_list); 301 301 } else 302 - chip_list = get_irq_chip_data(irq); 302 + chip_list = get_irq_data(irq); 303 303 list_add(&chip->list, chip_list); 304 304 305 305 for (i = 0; i < PL061_GPIO_NR; i++) {