OSDN Git Service

usb: phy: generic: migrate to gpio_desc
authorRobert Jarzmik <robert.jarzmik@free.fr>
Sat, 6 Dec 2014 21:05:13 +0000 (22:05 +0100)
committerFelipe Balbi <balbi@ti.com>
Mon, 12 Jan 2015 18:13:29 +0000 (12:13 -0600)
commite9f2cefb0cdc2aea8b70dbf68a3f78b88e57cf34
tree68ed0c31987ffa61c5e86045683c357c5570d7f9
parente3a912a124c380db61eff762faa0547ea4c90eb4
usb: phy: generic: migrate to gpio_desc

Change internal gpio handling from integer gpios into gpio
descriptors. This change only addresses the internal API and
device-tree/ACPI, while the legacy platform data remains integer space
based.

This change is only build compile tested, and very prone to error. I
leave this comment for now in the commit message so that this patch gets
some testing as I'm pretty sure it's buggy.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/phy-generic.c
drivers/usb/phy/phy-generic.h