提交 b3b1cc3b 编写于 作者: F Felipe Balbi 提交者: Greg Kroah-Hartman

USB: musb: move two printk to dev_err

trivial cleanup, no functional changes.
Signed-off-by: NFelipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 195e9e46
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册