projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
195e9e4
)
USB: musb: move two printk to dev_err
author
Felipe Balbi
<felipe.balbi@nokia.com>
Tue, 15 Dec 2009 09:08:43 +0000
(11:08 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 2 Mar 2010 22:53:29 +0000
(14:53 -0800)
trivial cleanup, no functional changes.
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/musb/musb_core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/musb/musb_core.c
b/drivers/usb/musb/musb_core.c
index 1927fa9f01b283ac72f9a72b4857f64f13ce81e6..91c31f2e0edc458e0cd1a12d8615c4fbd2b97237 100644
(file)
--- 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,
unsigned long val;
if (sscanf(buf, "%lu", &val) < 1) {
-
printk(KERN_ERR
"Invalid VBUS timeout ms value\n");
+
dev_err(dev,
"Invalid VBUS timeout ms value\n");
return -EINVAL;
}
@@
-1746,7
+1746,7
@@
musb_srp_store(struct device *dev, struct device_attribute *attr,
if (sscanf(buf, "%hu", &srp) != 1
|| (srp != 1)) {
-
printk(KERN_ERR
"SRP: Value must be 1\n");
+
dev_err(dev,
"SRP: Value must be 1\n");
return -EINVAL;
}