spi: mpc512x: adjust to OF based clock lookup
authorGerhard Sittig <gsi@denx.de>
Sat, 30 Nov 2013 22:51:28 +0000 (23:51 +0100)
committerAnatolij Gustschin <agust@denx.de>
Sun, 12 Jan 2014 17:53:04 +0000 (18:53 +0100)
commitdff148ad7b69409181e12641cca6962e5f02cffe
tree162d4fc6f89cfbfc94c3acdfa6ff1e147262bbf1
parent7d71d5b2e80623242b0c0823ce6cb635d089c8b2
spi: mpc512x: adjust to OF based clock lookup

after device tree based clock lookup became available, the peripheral
driver need no longer construct clock names which include the PSC index,
remove the "psc%d_mclk" template and unconditionally use 'mclk'

acquire and release the 'ipg' clock item for register access as well

Cc: Mark Brown <broonie@kernel.org>
Cc: linux-spi@vger.kernel.org
Signed-off-by: Gerhard Sittig <gsi@denx.de>
Acked-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
drivers/spi/spi-mpc512x-psc.c