Re: [PATCH] Input: st1232 - Remove obsolete platform device support
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2017-10-31 17:01:23
Also in:
linux-renesas-soc
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2017-10-31 17:01:23
Also in:
linux-renesas-soc
On Thu, Oct 12, 2017 at 11:41:15AM +0200, Geert Uytterhoeven wrote:
Commit 1fa59bda21c7fa36 ("ARM: shmobile: Remove legacy board code for
Armadillo-800 EVA"), removed the last user of st1232_pdata and the
"st1232-ts" platform device. All remaining users use DT.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>Sorry, this got stuck in gmail SPAM folder for some reason... Applied, thank you. ...
+ ts->reset_gpio = of_get_gpio(client->dev.of_node, 0);
if (gpio_is_valid(ts->reset_gpio)) {
error = devm_gpio_request(&client->dev, ts->reset_gpio, NULL);
if (error) {I wonder if we can convert it to gpiod API? Thanks. -- Dmitry