Input: bu21013_ts - use interrupt from I2C client
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 9 Aug 2019 17:07:06 +0000 (10:07 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 2 Sep 2019 16:07:18 +0000 (09:07 -0700)
commitdb3e34d4036db59cbacc1bff1c622b23d85b766b
tree059de1c5f50b07255bc2b1d6fd96114f5733b449
parent1eb7b4cacc01771ae42fcbc5ae9a4bc1d13c1dbc
Input: bu21013_ts - use interrupt from I2C client

Instead of trying to map INT GPIO to interrupt, let's use one supplied by
I2C client. If there is none - bail. This will also allow us to treat INT
GPIO as optional, as per the binding.

Tested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/touchscreen/bu21013.txt
drivers/input/touchscreen/bu21013_ts.c