drivers: at91: clean up peripheral clock code
authorWenyou Yang <wenyou.yang@atmel.com>
Wed, 3 Feb 2016 02:16:51 +0000 (10:16 +0800)
committerAndreas Bießmann <andreas.devel@googlemail.com>
Thu, 18 Feb 2016 20:34:40 +0000 (21:34 +0100)
commitcd4de1d9283b928488ca3a8c2bda297e4d797f6a
tree50ebcde0b80bfaf1a6c5e71199320aaf693986a9
parent70341e2ed9a0ff98a777febb7b56dbcee4d885c4
drivers: at91: clean up peripheral clock code

Due to introducing the new peripheral clock handle functions,
use these functions to reduce the duplicated code.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Tested-by: Heiko Schocher <hs@denx.de>
[fixup for missing clk.h in at91_emac.c]
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
drivers/net/at91_emac.c
drivers/usb/host/ehci-atmel.c
drivers/usb/host/ohci-at91.c