From: Marek Vasut Date: Mon, 25 Nov 2013 08:47:01 +0000 (+0100) Subject: ahci: imx: Pull out the clock enable/disable calls X-Git-Tag: v3.14-rc1~135^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8403e2ec8d4c759f821996d3bc43ca7c512ac9a0;p=pandora-kernel.git 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 Reviewed-by: Shawn Guo Cc: Richard Zhu Cc: Linux-IDE Signed-off-by: Tejun Heo --- Reading git-diff-tree failed