MIPS: ath79: use a helper function for USB resource initialization
authorGabor Juhos <juhosg@openwrt.org>
Sat, 4 Aug 2012 15:03:55 +0000 (15:03 +0000)
committerJohn Crispin <blogic@openwrt.org>
Tue, 28 Aug 2012 10:29:57 +0000 (12:29 +0200)
This improves code readability, and ensures that
all resource fields will be initialized correctly.
Additionally, it helps to reduce the size of the
kernel image by using uninitialized resource
variables.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/4171/
Signed-off-by: John Crispin <blogic@openwrt.org>

No differences found