orion/kirkwood: create a generic function for gpio led blinking
authorArnaud Patard (Rtp) <arnaud.patard@rtp-net.org>
Wed, 18 Apr 2012 21:16:40 +0000 (23:16 +0200)
committerJason Cooper <jason@lakedaemon.net>
Tue, 15 May 2012 03:12:14 +0000 (03:12 +0000)
commitff3e660b5a881b401b2b6735aa5334f433237dcb
tree275ddcb9365d4cc6ac7320b18a29b5d57fe2ada4
parent92a486eabefadca1169fbf15d737feeaf2bda844
orion/kirkwood: create a generic function for gpio led blinking

dns323 and (at least) iconnect platforms are using hw led blinking, so,
instead of having 2 identicals .gpio_blink_set gpio-led hooks, move
dns323 code into gpio.c

Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Tested-By: Adam Baker <linux@baker-net.org.uk>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/mach-orion5x/dns323-setup.c
arch/arm/plat-orion/gpio.c
arch/arm/plat-orion/include/plat/gpio.h