diff options
author | Marek Vasut <marex@denx.de> | 2013-11-25 03:47:01 -0500 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-12-03 07:40:57 -0500 |
commit | 8403e2ec8d4c759f821996d3bc43ca7c512ac9a0 (patch) | |
tree | 39192b6bfe266f23882bee90f0441128b2f30a62 /drivers/dma/amba-pl08x.c | |
parent | c869325a45ce3369d456d7632409b675c3adb7ce (diff) |
ahci: imx: Pull out the clock enable/disable calls
The same code for enabling and disabling SATA clock was found in multiple
places in the driver. Implement functions that enable/disable the SATA clock
and use them in such places instead of duplicating the code.
Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Shawn Guo <shawn.guo@linaro.org>
Cc: Richard Zhu <r65037@freescale.com>
Cc: Linux-IDE <linux-ide@vger.kernel.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/dma/amba-pl08x.c')
0 files changed, 0 insertions, 0 deletions