Hi, Linus Walleij <linus.walleij@xxxxxxxxxx> writes: > Instead of using the legacy GPIO API and keeping track on > polarity inversion semantics in the driver, switch to use > GPIO descriptors for this driver and change all consumers > in the process. > > This makes it possible to retire platform data completely: > the only remaining platform data member was "wakeup" which > was intended to make the vbus interrupt wakeup capable, > but was not set by any users and thus remained unused. VBUS > was not waking any devices up. Leave a comment about it so > later developers using the platform can consider setting it > to always enabled so plugging in USB wakes up the platform. > > Cc: Philipp Zabel <p.zabel@xxxxxxxxxxxxxx> > Cc: Sylwester Nawrocki <sylvester.nawrocki@xxxxxxxxx> > Cc: Robert Jarzmik <robert.jarzmik@xxxxxxx> > Cc: Daniel Mack <daniel@xxxxxxxxxx> > Cc: Haojian Zhuang <haojian.zhuang@xxxxxxxxx> > Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx> > --- > This change hits arch/arm/mach-pxa/* and > arch/arm/mach-s3c64* so I have CC to the most active > maintainers. > --- > arch/arm/mach-pxa/colibri-pxa320.c | 16 ++--- > arch/arm/mach-pxa/eseries.c | 40 +++++++----- > arch/arm/mach-pxa/gumstix.c | 18 +++--- > arch/arm/mach-pxa/hx4700.c | 22 ++++--- > arch/arm/mach-pxa/magician.c | 22 ++++--- > arch/arm/mach-pxa/mioa701.c | 15 +++-- > arch/arm/mach-pxa/palm27x.c | 34 +++++------ > arch/arm/mach-pxa/palmt5.c | 1 - > arch/arm/mach-pxa/palmtc.c | 18 +++--- > arch/arm/mach-pxa/palmte2.c | 18 +++--- > arch/arm/mach-pxa/palmtx.c | 1 - > arch/arm/mach-pxa/palmz72.c | 1 - > arch/arm/mach-pxa/tosa.c | 18 +++--- > arch/arm/mach-pxa/vpac270.c | 15 ++--- > arch/arm/mach-s3c64xx/mach-smartq.c | 13 ++-- > drivers/usb/phy/phy-gpio-vbus-usb.c | 95 +++++++++++++---------------- Acked-by: Felipe Balbi <balbi@xxxxxxxxxx> -- balbi
Attachment:
signature.asc
Description: PGP signature