aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoberta Dobrescu <roberta.dobrescu@gmail.com>2014-09-19 16:34:36 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-19 20:48:06 -0400
commit1ff99b312f9c94516acb38bad7421ba1d74abeb2 (patch)
tree65a24a7e8a348837701bc1a3e7a03a1992ccf285
parent113f5f24c6be6f7d888946320d01b51b81aa213d (diff)
staging: emxx_udc: Replace __constant_cpu_to_le16 with cpu_to_le16
This fixes the following checkpatch.pl warning: WARNING: __constant_cpu_to_le16 should be cpu_to_le16 Additionally, it removes the space between function name and (. Signed-off-by: Roberta Dobrescu <roberta.dobrescu@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/emxx_udc/emxx_udc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/emxx_udc/emxx_udc.c b/drivers/staging/emxx_udc/emxx_udc.c
index 5c2a19a1564e..341b65216b3c 100644
--- a/drivers/staging/emxx_udc/emxx_udc.c
+++ b/drivers/staging/emxx_udc/emxx_udc.c
@@ -1404,13 +1404,13 @@ static void _nbu2ss_set_endpoint_stall(
1404static struct usb_device_descriptor device_desc = { 1404static struct usb_device_descriptor device_desc = {
1405 .bLength = sizeof(device_desc), 1405 .bLength = sizeof(device_desc),
1406 .bDescriptorType = USB_DT_DEVICE, 1406 .bDescriptorType = USB_DT_DEVICE,
1407 .bcdUSB = __constant_cpu_to_le16(0x0200), 1407 .bcdUSB = cpu_to_le16(0x0200),
1408 .bDeviceClass = USB_CLASS_VENDOR_SPEC, 1408 .bDeviceClass = USB_CLASS_VENDOR_SPEC,
1409 .bDeviceSubClass = 0x00, 1409 .bDeviceSubClass = 0x00,
1410 .bDeviceProtocol = 0x00, 1410 .bDeviceProtocol = 0x00,
1411 .bMaxPacketSize0 = 64, 1411 .bMaxPacketSize0 = 64,
1412 .idVendor = __constant_cpu_to_le16 (0x0409), 1412 .idVendor = cpu_to_le16(0x0409),
1413 .idProduct = __constant_cpu_to_le16 (0xfff0), 1413 .idProduct = cpu_to_le16(0xfff0),
1414 .bcdDevice = 0xffff, 1414 .bcdDevice = 0xffff,
1415 .iManufacturer = 0x00, 1415 .iManufacturer = 0x00,
1416 .iProduct = 0x00, 1416 .iProduct = 0x00,