tty: st-asc: switch to using devm_gpiod_get()
Dmitry Torokhov authored

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: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
Link: https://lore.kernel.org/r/20200104202314.GA13591@dtor-ws

Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
8c44f9b5
Name Last commit Last update
Documentation Merge tag 'xfs-5.5-fixes-2' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux
LICENSES LICENSES: Rename other to deprecated
arch Merge 5.5-rc3 into tty-next
block block: fix memleak when __blk_rq_map_user_iov() is failed
certs certs: Add wrapper function to check blacklisted binary hash
crypto Merge tag 'tpmdd-next-20191219' of git://git.infradead.org/users/jjs/linux-tpmdd
drivers tty: st-asc: switch to using devm_gpiod_get()
fs Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
include Merge 5.5-rc3 into tty-next
init early init: fix error handling when opening /dev/console
ipc treewide: Use sizeof_field() macro
kernel Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
lib Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
mm mm: vmscan: protect shrinker idr replace with CONFIG_MEMCG
net Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
samples Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
scripts Merge 5.5-rc3 into tty-next
security Merge tag 'tpmdd-next-20191219' of git://git.infradead.org/users/jjs/linux-tpmdd
sound Merge tag 'sound-5.5-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
tools Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
usr kbuild: fix 'No such file or directory' warning when cleaning
virt Merge tag 'kvm-ppc-fixes-5.5-1' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc into kvm-master
.clang-format clang-format: Update with the latest for_each macro list
.cocciconfig scripts: add Linux .cocciconfig for coccinelle
.get_maintainer.ignore Opt out of scripts/get_maintainer.pl
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README
Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.