From: Roberta Dobrescu Date: Fri, 19 Sep 2014 20:34:36 +0000 (+0300) Subject: staging: emxx_udc: Replace __constant_cpu_to_le16 with cpu_to_le16 X-Git-Tag: v4.14-rc1~6739^2~309 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1ff99b312f9c94516acb38bad7421ba1d74abeb2;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/emxx_udc/emxx_udc.c b/drivers/staging/emxx_udc/emxx_udc.c index 5c2a19a..341b652 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( static struct usb_device_descriptor device_desc = { .bLength = sizeof(device_desc), .bDescriptorType = USB_DT_DEVICE, - .bcdUSB = __constant_cpu_to_le16(0x0200), + .bcdUSB = cpu_to_le16(0x0200), .bDeviceClass = USB_CLASS_VENDOR_SPEC, .bDeviceSubClass = 0x00, .bDeviceProtocol = 0x00, .bMaxPacketSize0 = 64, - .idVendor = __constant_cpu_to_le16 (0x0409), - .idProduct = __constant_cpu_to_le16 (0xfff0), + .idVendor = cpu_to_le16(0x0409), + .idProduct = cpu_to_le16(0xfff0), .bcdDevice = 0xffff, .iManufacturer = 0x00, .iProduct = 0x00,