Hui Wang ae495e844a Input: egalax_ts - get gpio from devicetree
The irq_to_gpio() is old, most platforms use GENERIC_GPIO framework
and don't support this API anymore.

The i.MX6q sabrelite platform equips an egalax touchscreen controller,
and this platform already transfered to GENERIC_GPIO framework, to
support this driver, we use a more generic way to get gpio.

Add a return value checking for waking up the controller in the probe
function, this guarantee only a workable device can pass init.

[dmitry.torokhov@gmail.com: Make driver depend on CONFIG_OF as it is
 now required.]

Acked-by Zhang Jiejing <jiejing.zhang@freescale.com>
Reviewed-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Hui Wang <jason77.wang@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2012-10-25 00:38:22 -07:00
..
2011-10-06 19:47:33 -04:00
2012-07-11 17:58:47 -07:00
2012-07-30 12:41:17 -07:00
2012-06-14 17:23:04 -07:00
2012-07-24 14:05:46 -07:00
2012-07-23 13:24:05 +02:00
2012-07-23 16:21:23 -07:00
2011-02-15 21:39:21 -07:00
2012-07-27 16:45:04 +02:00
2012-07-27 12:52:03 -07:00
2012-07-26 10:23:47 -07:00