Home
last modified time | relevance | path

Searched hist:"8 c44f9b566a3a2371bca9dcabe450980e039cadf" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/tty/serial/
H A Dst-asc.cdiff 8c44f9b566a3a2371bca9dcabe450980e039cadf Sat Jan 04 21:23:14 CET 2020 Dmitry Torokhov <dmitry.torokhov@gmail.com> tty: st-asc: switch to using devm_gpiod_get()

The node pointer in question is not a child node, but the node assigned
to the port device itself, so we should not be using
devm_fwnode_get_gpiod_from_child() [that is going away], but standard
devm_gpiod_get().

To maintain the previous labeling we use gpiod_set_consumer_name() after
we acquire the GPIO.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Link: https://lore.kernel.org/r/20200104202314.GA13591@dtor-ws
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>