提交 e97e6c4f 编写于 作者: D David Murray 提交者: Greg Kroah-Hartman

Drivers: Staging: ccg: Made checkpatch.pl clean

Fixed a tiny checkpatch.pl warning.
Signed-off-by: NDavid Murray <therealcykey@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 7183f337
...@@ -1143,7 +1143,7 @@ static int ccg_bind(struct usb_composite_dev *cdev) ...@@ -1143,7 +1143,7 @@ static int ccg_bind(struct usb_composite_dev *cdev)
if (gcnum >= 0) if (gcnum >= 0)
device_desc.bcdDevice = cpu_to_le16(0x0200 + gcnum); device_desc.bcdDevice = cpu_to_le16(0x0200 + gcnum);
else { else {
pr_warning("%s: controller '%s' not recognized\n", pr_warn("%s: controller '%s' not recognized\n",
longname, gadget->name); longname, gadget->name);
device_desc.bcdDevice = __constant_cpu_to_le16(0x9999); device_desc.bcdDevice = __constant_cpu_to_le16(0x9999);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册