From: Gerhard Sittig Date: Thu, 22 Aug 2013 19:55:13 +0000 (+0200) Subject: fs_enet: cleanup clock API use X-Git-Tag: v3.12-rc1~132^2~191 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2771399ac9986c75437a83b1c723493cfcdfa439;p=pandora-kernel.git fs_enet: cleanup clock API use make the Freescale ethernet driver get, prepare and enable the FEC clock during probe(); disable and unprepare the clock upon remove(), put is done by the devm approach; hold a reference to the clock over the period of use. clock lookup is non-fatal as not all platforms provide clock specs in their device tree; failure to enable specified clocks is fatal. Signed-off-by: Gerhard Sittig Signed-off-by: Anatolij Gustschin Signed-off-by: David S. Miller --- Reading git-diff-tree failed