OpenCloudOS-Kernel/drivers/usb/gadget/udc
Vaishali Thakkar b5c03bffa6 usb: udc: Convert use of __constant_cpu_to_leXX to cpu_to_leXX
In big endian cases, the macro cpu_to_le{16,32} unfolds to __swab{16,32}
which provides special case for constants. In little endian cases,
__constant_cpu_to_le{16,32} and cpu_to_le{16,32} expand directly to
the same expression. So, replace __constant_cpu_to_le{16,32} with
cpu_to_le{16,32} with the goal of getting rid of the definition of
__constant_cpu_to_le{16,32} completely.

The semantic patch that performs this transformation is as follows:

@@expression x;@@

(
- __constant_cpu_to_le16(x)
+ cpu_to_le16(x)
|
- __constant_cpu_to_le32(x)
+ cpu_to_le32(x)
)

Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2015-07-29 09:59:18 -05:00
..
bdc usb: gadget: bdc_udc: set value for common is_selfpowered 2015-01-29 10:32:54 -06:00
Kconfig Merge branch 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild 2015-02-19 10:36:45 -08:00
Makefile usb: gadget: Add UDC driver for Broadcom USB3.0 device controller IP BDC 2014-11-18 08:47:23 -06:00
amd5536udc.c usb: gadget: amd5536udc: use udc-core's reset notifier 2014-11-10 17:19:37 -06:00
amd5536udc.h
at91_udc.c usb: gadget: remove incorrect __init/__exit annotations 2015-04-27 14:45:35 -05:00
at91_udc.h ARM: SoC driver updates 2015-02-17 09:38:59 -08:00
atmel_usba_udc.c usb: patches for v4.2 merge window 2015-06-02 10:47:03 +09:00
atmel_usba_udc.h usb: gadget: atmel_usba: use endian agnostic IO on ARM 2015-03-19 11:28:16 -05:00
bcm63xx_udc.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
dummy_hcd.c dummy_hcd: use USB_DT[_SS]_HUB 2015-04-03 19:03:16 +02:00
fotg210-udc.c usb: gadget: udc: fix free_irq() after request_irq() failed 2015-07-06 12:34:08 -05:00
fotg210.h
fsl_mxc_udc.c
fsl_qe_udc.c usb: gadget: cleanup on stack DECLARE_COMPLETIONs 2015-01-12 12:13:27 -06:00
fsl_qe_udc.h
fsl_udc_core.c usb: gadget: remove incorrect __init/__exit annotations 2015-04-27 14:45:35 -05:00
fsl_usb2_udc.h
fusb300_udc.c usb: gadget: remove incorrect __init/__exit annotations 2015-04-27 14:45:35 -05:00
fusb300_udc.h usb: gadget: fusb300_udc.h: Fix typo in include guard 2014-09-03 09:15:57 -05:00
gadget_chips.h
goku_udc.c usb: gadget: goku_udc: Remove uses of seq_<foo> return values 2015-03-19 11:28:15 -05:00
goku_udc.h
gr_udc.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
gr_udc.h usb: gadget: gr_udc: Add bounce buffer to handle odd sized OUT requests 2014-09-16 10:01:45 -05:00
lpc32xx_udc.c usb: gadget: lpc32xxx_udc: Fix NULL dereference 2015-03-11 14:59:10 -05:00
m66592-udc.c usb: gadget: remove incorrect __init/__exit annotations 2015-04-27 14:45:35 -05:00
m66592-udc.h
mv_u3d.h
mv_u3d_core.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
mv_udc.h
mv_udc_core.c usb: gadget: mv_udc_core: fix phy_regs I/O memory leak 2015-07-20 12:57:46 -05:00
net2272.c usb: udc: Convert use of __constant_cpu_to_leXX to cpu_to_leXX 2015-07-29 09:59:18 -05:00
net2272.h usb: gadget: net2272: use common is_selfpowered 2015-01-29 10:35:27 -06:00
net2280.c usb: gadget: net2280: fix pullup handling 2015-05-26 10:40:31 -05:00
net2280.h usb: gadget: net2280: remove fiforegs as it is unused 2015-03-10 15:33:30 -05:00
omap_udc.c usb: gadget: omap_udc: set value for common is_selfpowered 2015-01-29 10:35:04 -06:00
omap_udc.h
pch_udc.c usb: udc: Convert use of __constant_cpu_to_leXX to cpu_to_leXX 2015-07-29 09:59:18 -05:00
pxa25x_udc.c usb: gadget: pxa27x_udc: delete pullup operation at .udc_start and .udc_stop 2015-01-12 12:24:22 -06:00
pxa25x_udc.h
pxa27x_udc.c usb: gadget: constify of_device_id array 2015-03-19 11:28:15 -05:00
pxa27x_udc.h usb: gadget: pxa27x_udc: transfer mach_info into pxa_udc 2014-11-03 10:00:57 -06:00
r8a66597-udc.c usb: gadget: remove incorrect __init/__exit annotations 2015-04-27 14:45:35 -05:00
r8a66597-udc.h
s3c-hsudc.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
s3c2410_udc.c Merge 4.1-rc7 into usb-next 2015-06-08 10:57:51 -07:00
s3c2410_udc.h
udc-core.c usb: gadget: udc: core: Fix argument of dma_map_single for IOMMU 2015-07-20 12:57:46 -05:00
udc-xilinx.c usb: gadget: xilinx: fix devm_ioremap_resource() check 2015-04-27 14:38:34 -05:00