From: Huang Shijie Date: Tue, 4 Jun 2013 01:59:33 +0000 (+0800) Subject: serial: imx: enable the clocks only when the uart is used X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~77^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28eb4274e7ec3ddba6711e3d13e374046b3c2230;p=pandora-kernel.git serial: imx: enable the clocks only when the uart is used Current code opens the clocks when the uart driver is probed. This will wastes some power if several uarts are enabled, but not really used. So close these clocks for uart, and enable the clocks only when the uart is used. Signed-off-by: Huang Shijie Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed