watchdog: imx: use clk_get to acquire the watchdog clock
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 7 Dec 2010 16:16:04 +0000 (14:16 -0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Tue, 14 Dec 2010 08:54:19 +0000 (09:54 +0100)
commit2c1f4672f0711e7f23ae49cbb7541088126fe576
tree2e72446f10f1b0a07bbe470c1f24025516f9cfe4
parenta96efbc1fc8e4540dc1d561bb5e42a16a7b472d5
watchdog: imx: use clk_get to acquire the watchdog clock

Use clk_get to acquire the watchdog clock and also avoid hardcoding the clock name.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-imx/clock-imx21.c
arch/arm/mach-imx/clock-imx25.c
arch/arm/mach-imx/clock-imx27.c
arch/arm/mach-mx3/clock-imx31.c
arch/arm/mach-mx3/clock-imx35.c
arch/arm/mach-mx5/clock-mx51-mx53.c
arch/arm/plat-mxc/system.c
drivers/watchdog/imx2_wdt.c