Commit 1ff99b31 authored by Roberta Dobrescu's avatar Roberta Dobrescu Committed by Greg Kroah-Hartman

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: default avatarRoberta Dobrescu <roberta.dobrescu@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 113f5f24
...@@ -1404,13 +1404,13 @@ static void _nbu2ss_set_endpoint_stall( ...@@ -1404,13 +1404,13 @@ static void _nbu2ss_set_endpoint_stall(
static struct usb_device_descriptor device_desc = { static struct usb_device_descriptor device_desc = {
.bLength = sizeof(device_desc), .bLength = sizeof(device_desc),
.bDescriptorType = USB_DT_DEVICE, .bDescriptorType = USB_DT_DEVICE,
.bcdUSB = __constant_cpu_to_le16(0x0200), .bcdUSB = cpu_to_le16(0x0200),
.bDeviceClass = USB_CLASS_VENDOR_SPEC, .bDeviceClass = USB_CLASS_VENDOR_SPEC,
.bDeviceSubClass = 0x00, .bDeviceSubClass = 0x00,
.bDeviceProtocol = 0x00, .bDeviceProtocol = 0x00,
.bMaxPacketSize0 = 64, .bMaxPacketSize0 = 64,
.idVendor = __constant_cpu_to_le16 (0x0409), .idVendor = cpu_to_le16(0x0409),
.idProduct = __constant_cpu_to_le16 (0xfff0), .idProduct = cpu_to_le16(0xfff0),
.bcdDevice = 0xffff, .bcdDevice = 0xffff,
.iManufacturer = 0x00, .iManufacturer = 0x00,
.iProduct = 0x00, .iProduct = 0x00,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment