Input: ucb1400_ts - allow passing IRQ through platfrom_data
commitfb141597550243b471f3bd526fe689aa3b74df25
authorMarek Vasut <marek.vasut@gmail.com>
Mon, 9 Nov 2009 03:45:54 +0000 (8 19:45 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 20 Nov 2009 08:52:05 +0000 (20 00:52 -0800)
tree45083cd95cd520effed623449413ac21efa7b8a1
parent765af10de6d93820def9978c53ed828e4d3bd4f4
Input: ucb1400_ts - allow passing IRQ through platfrom_data

This patch allows UCB1400 to get IRQ GPIO from platform data. In case
platform_data are not supplied or the IRQ supplied in the platform_data
is negative, fall back to the old IRQ detection algorithm.

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/ucb1400_ts.c
drivers/mfd/ucb1400_core.c
include/linux/ucb1400.h