diff options
author | Hans de Goede <hdegoede@redhat.com> | 2018-06-10 17:01:22 +0300 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2018-07-26 13:54:25 +0300 |
commit | 211f658b7b40fd3355a0920481132645e24ffb16 (patch) | |
tree | bb7f54bf948ec5090c33f308cbbf4e5918ed9500 /fs/hfsplus/ioctl.c | |
parent | 7740d04d901db7fe631b89dc4f695093327e2124 (diff) | |
download | linux-211f658b7b40fd3355a0920481132645e24ffb16.tar.xz |
usb: dwc3: pci: Use devm functions to get the phy GPIOs
Even though we only use them once, it is better to not put/release
the GPIOs immediately after use, so that others cannot claim them.
Use devm functions to get the phy GPIOs, so that they will be
automatically released when were unbound from the device and
remove the gpio_put calls.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'fs/hfsplus/ioctl.c')
0 files changed, 0 insertions, 0 deletions