mfd: omap-usb-host: get rid of cpu_is_omap..() macros
authorRoger Quadros <rogerq@ti.com>
Fri, 14 Dec 2012 17:09:11 +0000 (09:09 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 14 Dec 2012 19:48:06 +0000 (11:48 -0800)
commit63b68901dfd590cc13d4fe5c08dec2ca75b3c4aa
tree4c8ffc54ed21762cf0fee494918107a12fb2516f
parent657b9deeed33cfb6f7171361accc6982727d2e0b
mfd: omap-usb-host: get rid of cpu_is_omap..() macros

Instead of using cpu_is_omap..() macros in the device driver we
rely on information provided in the platform data.

The only information we need is whether the USB Host module has
a single ULPI bypass control bit for all ports or individual bypass
control bits for each port. OMAP3 REV2.1 and earlier have the former.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
[tony@atomide.com: updated to remove plat/cpu.h]
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/usb-host.c
drivers/mfd/omap-usb-host.c
include/linux/platform_data/usb-omap.h