ARM: PNX4008: i2c-pnx: use the same dev_id for request_irq and free_irq
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 21 Nov 2009 16:00:28 +0000 (16:00 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 21 Nov 2009 19:01:05 +0000 (19:01 +0000)
This allows i2c-pnx to free its interrupt handler when the module
is removed or if an error occurs; using the same dev_id for both
request_irq and free_irq is desirable.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Ben Dooks <ben-linux@fluff.org>

No differences found