spi: clps711x: Remove <mach/hardware.h> dependency
authorAlexander Shiyan <shc_work@mail.ru>
Sat, 22 Mar 2014 06:57:35 +0000 (10:57 +0400)
committerMark Brown <broonie@linaro.org>
Tue, 25 Mar 2014 13:03:35 +0000 (13:03 +0000)
commit3dc925945b00c231419e12c00c998cdcc3a6b8cf
tree4626aa127f9bea6d9b3b82ad99301a7dd29eff4f
parentbed890b4310b1d3b33c88fb83e216a8182e8bbad
spi: clps711x: Remove <mach/hardware.h> dependency

This patch removes <mach/hardware.h> dependency. This is performed
by replace hard coded used memory regions and interrupt to getting
these values from resources passed to the driver. For the system-wide
registers we now able to use SYSCON driver.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-clps711x.c