From c2ec3a732a6bb65635693f6d86d2b7bf073b6148 Mon Sep 17 00:00:00 2001 From: Peter Chen Date: Wed, 30 Oct 2013 09:19:29 +0800 Subject: [PATCH] usb: chipidea: only get vbus regulator for non-peripheral mode If the user chooses peripheral mode for this controller, the vbus regulator doesn't need to get, since the host will supply the vbus, it can save one vbus pin for other usage. Signed-off-by: Peter Chen Tested-by: Frank Li Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed