spi: omap: encode register offset into device_id
The omap3 and omap4/am33xx spi cores differ in the offset of the
registers in the address space. Instead of encoding this into the
resources use the platform_device_id mechanism. This is done in
preparation for devicetree probe support where the address space
is in the devicetree and can't be adjusted.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 26c7258 commit 186980340531bea3c98ff51c046e8a01d5892c84
@Sascha Hauer Sascha Hauer authored on 19 Nov 2013
Showing 3 changed files
View
arch/arm/mach-omap/include/mach/am33xx-devices.h
View
drivers/spi/omap3_spi.c
View
drivers/spi/omap3_spi.h