MFD: ucb1x00: convert to use genirq
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 21 Jan 2012 14:58:28 +0000 (14:58 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 18 Feb 2012 23:15:43 +0000 (23:15 +0000)
commita3364409c4af8bae42d04def48dc11409787e503
tree317d68920998bc5823d2879a49d49f27a8aed279
parentcf4abfcc0df2985ff6061f74e63b8353f2a1d0bc
MFD: ucb1x00: convert to use genirq

Convert the ucb1x00 driver to use genirq's interrupt services, rather
than its own private implementation.  This allows a wider range of
drivers to use the GPIO interrupts (such as the gpio_keys driver)
without being aware of the UCB1x00's private IRQ system.

This prevents the UCB1x00 core driver from being built as a module,
so adjust the configuration to add that restriction.

Acked-by: Jochen Friedrich <jochen@scram.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mfd/Kconfig
drivers/mfd/ucb1x00-core.c
drivers/mfd/ucb1x00-ts.c
include/linux/mfd/ucb1x00.h