usb: gadget: fsl-mxc-udc: replace cpu_is_xxx() with platform_device_id
authorPeter Chen <peter.chen@freescale.com>
Thu, 17 Jan 2013 10:03:15 +0000 (18:03 +0800)
committerFelipe Balbi <balbi@ti.com>
Fri, 18 Jan 2013 12:08:20 +0000 (14:08 +0200)
commitf0ea8834df058371d1e59012d4a67488429fb4a2
treed4c4aa21d8c6de1890e6526e169441e39e868c96
parent091a62c9b3d899d99dbf4e3dbebc8dfa3edbccdd
usb: gadget: fsl-mxc-udc: replace cpu_is_xxx() with platform_device_id

As mach/hardware.h is deleted, we need to use platform_device_id to
differentiate SoCs. Besides, one cpu_is_mx35 is useless as it has
already used pdata to differentiate runtime

Meanwhile we update the platform code accordingly.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
arch/arm/mach-imx/devices/devices-common.h
arch/arm/mach-imx/devices/platform-fsl-usb2-udc.c
drivers/usb/gadget/fsl_mxc_udc.c
drivers/usb/gadget/fsl_udc_core.c