gpio: timbgpio: Fix up irq_data conversion breakage.
authorLennert Buytenhek <buytenh@wantstofly.org>
Fri, 14 Jan 2011 08:44:19 +0000 (09:44 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 14 Jan 2011 16:13:13 +0000 (08:13 -0800)
commit7f5db6a8022e8d4bb92b3d638068d2c2a9c9b59b
tree6cadcaa2b4709e82e70792ddc3afb0fa8b69aed8
parentc72a04e34735ec3f19f4788b7f95017310b5e1eb
gpio: timbgpio: Fix up irq_data conversion breakage.

Commit a1f5f22adc3206c47e70652c12671666c65b579f ("gpio: timbgpio:
irq_data conversion") was slightly too enthusiastic in converting
timbgpio_irq() over to take an irq_data * argument instead of an
unsigned int irq argument, as it is a flow handler, which still take
IRQ numbers for now.  (And on top of that, it was using the wrong
accessors.)

This fixes it up, and seems to build without warnings.

Signed-off-by: Lennert Buytenhek <buytenh@secretlab.ca>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Richard Röjfors <richard.rojfors@mocean-labs.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/gpio/timbgpio.c