summaryrefslogtreecommitdiffstats
path: root/fs/proc/root.c
diff options
context:
space:
mode:
authorSerge Semin2017-10-22 22:38:12 +0200
committerGreg Kroah-Hartman2017-11-01 17:14:21 +0100
commit69a0c69aab9622186e7b93f1b900a8e17effbcd9 (patch)
tree373978f9b03d26055051fa63893fe837ca915008 /fs/proc/root.c
parentusb: usb251xb: Add max power/current dts property support (diff)
downloadkernel-qcow2-linux-69a0c69aab9622186e7b93f1b900a8e17effbcd9.tar.gz
kernel-qcow2-linux-69a0c69aab9622186e7b93f1b900a8e17effbcd9.tar.xz
kernel-qcow2-linux-69a0c69aab9622186e7b93f1b900a8e17effbcd9.zip
usb: usb251xb: Use GPIO descriptor consumer interface
The driver used to be developed with legacy GPIO API support. It's better to use descriptor-based interface for several reasons. First of all the legacy API doesn't support the ACTIVE_LOW/HIGH flag of dts nodes, which is essential since different hardware may have different GPIOs connectivity including the logical value inversion. Secondly, by requesting the reset GPIO descriptor the driver prevent the other applications from changing its value. And last but not least the legacy GPIO interface should be avoided in the new code due to it obsolescence. Signed-off-by: Serge Semin <fancer.lancer@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/proc/root.c')
0 files changed, 0 insertions, 0 deletions