USB: TWL6025 allow different regulator name
authorGraeme Gregory <gg@slimlogic.co.uk>
Sun, 22 May 2011 20:21:24 +0000 (21:21 +0100)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Fri, 27 May 2011 09:49:30 +0000 (10:49 +0100)
commit5ccee4ae8eab957ab6d534283db5bd27703dba03
tree98a82be99b8efba0c0dcee75f51d6dac1845e796
parent4d94aee577ea8179bd40f0f17e64cada25c66b85
USB: TWL6025 allow different regulator name

The twl6025 uses a different regulator for USB than the 6030 so select
the correct regulator name depending on the subclass of device.

Since V1

Use features passed via platform data instead of global variable.

Signed-off-by: Graeme Gregory <gg@slimlogic.co.uk>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/usb/otg/twl6030-usb.c