aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/serial_core.h
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2020-01-04 12:23:14 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-10 14:01:33 +0100
commit8c44f9b566a3a2371bca9dcabe450980e039cadf (patch)
treeeb9a6bdf2f76e74081dc1ade3fbc6d04b1d6c2a8 /include/linux/serial_core.h
parenttty: serial: Kconfig: Allow SERIAL_QCOM_GENI_CONSOLE to be enabled if SERIAL_QCOM_GENI is a module (diff)
downloadlinux-dev-8c44f9b566a3a2371bca9dcabe450980e039cadf.tar.xz
linux-dev-8c44f9b566a3a2371bca9dcabe450980e039cadf.zip
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>
Diffstat (limited to 'include/linux/serial_core.h')
0 files changed, 0 insertions, 0 deletions