net: davinci_emac: Free clock after checking the frequency
authorTony Lindgren <tony@atomide.com>
Thu, 15 Jan 2015 22:45:11 +0000 (14:45 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Jan 2015 06:00:03 +0000 (01:00 -0500)
commit0f5372731dc13655da9edd282437a290eaa7c258
tree0881f2ce67bcc751ef3f43528c0008d472b9e2a8
parentb5133e7a988b2cf8e1cd2b23231f36aff35ceffc
net: davinci_emac: Free clock after checking the frequency

We only use clk_get() to get the frequency, the rest is done by
the runtime PM calls. Let's free the clock too.

Cc: Brian Hutchinson <b.hutchman@gmail.com>
Cc: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/davinci_emac.c