]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6324f21dadaceabc046d96cfa31e927cfc7c4462
tree4626aa127f9bea6d9b3b82ad99301a7dd29eff4f
parenta6b596a957cf09b34fe708d8bcdbebff789c8ff7
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