aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb/musb_core.c
diff options
context:
space:
mode:
authorFelipe Balbi <felipe.balbi@nokia.com>2009-12-15 04:08:43 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2010-03-02 17:53:29 -0500
commitb3b1cc3ba62374e71155ba8c09ee481c3c2d923e (patch)
treecc1d8e125b556f1086daf61025e66943af703a1d /drivers/usb/musb/musb_core.c
parent195e9e4691ad0544746540852e03d7c8c6c877ea (diff)
USB: musb: move two printk to dev_err
trivial cleanup, no functional changes. Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/musb/musb_core.c')
-rw-r--r--drivers/usb/musb/musb_core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
index 1927fa9f01b2..91c31f2e0edc 100644
--- a/drivers/usb/musb/musb_core.c
+++ b/drivers/usb/musb/musb_core.c
@@ -1696,7 +1696,7 @@ musb_vbus_store(struct device *dev, struct device_attribute *attr,
1696 unsigned long val; 1696 unsigned long val;
1697 1697
1698 if (sscanf(buf, "%lu", &val) < 1) { 1698 if (sscanf(buf, "%lu", &val) < 1) {
1699 printk(KERN_ERR "Invalid VBUS timeout ms value\n"); 1699 dev_err(dev, "Invalid VBUS timeout ms value\n");
1700 return -EINVAL; 1700 return -EINVAL;
1701 } 1701 }
1702 1702
@@ -1746,7 +1746,7 @@ musb_srp_store(struct device *dev, struct device_attribute *attr,
1746 1746
1747 if (sscanf(buf, "%hu", &srp) != 1 1747 if (sscanf(buf, "%hu", &srp) != 1
1748 || (srp != 1)) { 1748 || (srp != 1)) {
1749 printk(KERN_ERR "SRP: Value must be 1\n"); 1749 dev_err(dev, "SRP: Value must be 1\n");
1750 return -EINVAL; 1750 return -EINVAL;
1751 } 1751 }
1752 1752