• Nick Kossifidis's avatar
    ath5k: Reset cleanup and generic cleanup · 9320b5c4
    Nick Kossifidis authored
     * No functional changes
     * Clean up reset:
     Introduce init functions for each unit and call them instead
     of having everything inside ath5k_hw_reset (it's just c/p for
     now so nothing changes except calling order -I tested it with
     various cards and it's ok-)
     * Further cleanups:
     ofdm_timings belongs to phy.c
     rate_duration belongs to pcu.c
     clock functions are general and belong to reset.c (more to follow)
     * Reorder functions for better organization:
     We start with helpers and other functions follow in categories,
     init functions are last
    Signed-off-by: default avatarNick Kossifidis <mickflemm@gmail.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
reset.c 27.6 KB