Hi,
On 21-08-15 10:49, Axel Lin wrote:
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
Thanks for the patch, looks good to me:
Reviewed-by: Hans de Goede
Regards,
Hans
---
drivers/phy/phy-sun4i-usb.c | 22
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
---
drivers/phy/phy-sun4i-usb.c | 22 +-
1 file changed, 9 insertions(+), 13 deletions(-)
diff --git a/drivers/phy/phy-sun4i-usb.c b/drivers/phy/phy-
2 matches
Mail list logo