diff options
author | Axel Lin <axel.lin@ingics.com> | 2015-09-25 03:47:29 +0300 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2015-10-06 17:51:47 +0300 |
commit | b2dfc34c975ad7b9c531f8b93f8bd7b8606286c1 (patch) | |
tree | 9df28ae62a3e1b0ef1d7d51ede642d05c4c19192 /drivers/rtc/rtc-wm8350.c | |
parent | dc7f190fd51f5c64d7d9280e5f052b46ce8cee24 (diff) | |
download | linux-b2dfc34c975ad7b9c531f8b93f8bd7b8606286c1.tar.xz |
phy: sun4i-usb: Use devm_gpiod_get_optional for optional GPIOs
Both data->id_det_gpio and data->vbus_det_gpio are optional, so use
devm_gpiod_get_optional for them.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'drivers/rtc/rtc-wm8350.c')
0 files changed, 0 insertions, 0 deletions