summaryrefslogtreecommitdiffstats
path: root/drivers/usb/phy/phy-twl6030-usb.c
diff options
context:
space:
mode:
authorGraeme Gregory <gg@slimlogic.co.uk>2013-06-19 14:24:02 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2013-06-20 10:26:29 +0200
commit89ce43fbbce525f99991ed060b1302bd3fdae9c6 (patch)
treebd5ff0aa56e1ce8561d22ce1111126f00715407c /drivers/usb/phy/phy-twl6030-usb.c
parentmfd: davinci_voicecodec: Fix build breakage (diff)
downloadlinux-89ce43fbbce525f99991ed060b1302bd3fdae9c6.tar.xz
linux-89ce43fbbce525f99991ed060b1302bd3fdae9c6.zip
mfd: twl-core: Change TWL6025 references to TWL6032
The TWL6025 was never released beyond sample form and was replaced by the PhoenixLite range of chips - TWL6032. Change the references to reference the TWL6032 class and name the registers to twl6032 in line with an actual released chip name to avoid confusion. Currently there are no users of TWL6025 in the code. Signed-off-by: Graeme Gregory <gg@slimlogic.co.uk> Signed-off-by: Oleksandr Kozaruk <oleksandr.kozaruk@ti.com> Acked-by: Lee Jones <lee.jones@linaro.org> Reviwed-by: Mark Brown <broonie@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/usb/phy/phy-twl6030-usb.c')
-rw-r--r--drivers/usb/phy/phy-twl6030-usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/phy/phy-twl6030-usb.c b/drivers/usb/phy/phy-twl6030-usb.c
index 9de7ada90a8b..1753bd367e0a 100644
--- a/drivers/usb/phy/phy-twl6030-usb.c
+++ b/drivers/usb/phy/phy-twl6030-usb.c
@@ -347,7 +347,7 @@ static int twl6030_usb_probe(struct platform_device *pdev)
if (np) {
twl->regulator = "usb";
} else if (pdata) {
- if (pdata->features & TWL6025_SUBCLASS)
+ if (pdata->features & TWL6032_SUBCLASS)
twl->regulator = "ldousb";
else
twl->regulator = "vusb";