bcm63xx_enet: properly prepare/unprepare clocks before/after usage
authorJonas Gorski <jogo@openwrt.org>
Sun, 10 Mar 2013 03:57:49 +0000 (03:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 10 Mar 2013 20:57:01 +0000 (16:57 -0400)
commit624e2d21356a40ad7200cb30c4f966741d805a79
tree95508f79822bb2f70db6aead8229eb183fbd4f42
parent2a80b5e1580cf6b2c534674080dc3fdf788b06b8
bcm63xx_enet: properly prepare/unprepare clocks before/after usage

Use clk_prepare_enable/disable_unprepare calls in preparation for
switching to the generic clock framework.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Acked-by: Kevin Cernekee <cernekee@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bcm63xx_enet.c