-
由 Marek Vasut 提交于
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: NMarek Vasut <marex@denx.de> Reviewed-by: NShawn Guo <shawn.guo@linaro.org> Cc: Richard Zhu <r65037@freescale.com> Cc: Linux-IDE <linux-ide@vger.kernel.org> Signed-off-by: NTejun Heo <tj@kernel.org>
8403e2ec