• Tobin C. Harding's avatar
    staging: ks7010: move tasklet_struct to ks_wlan_private · 321dabdc
    Tobin C. Harding authored
    Currently a pointer to the tasklet_struct used for bottom half
    processing on the receive path is within the hw_info_t structure. This
    structure is then embedded in the device private data
    structure. Having the tasklet_struct nested does not add meaning to
    the device private data, device private data already (and typically)
    has various data relating to the device, there is no real need to
    separate the tasklet_struct to a SDIO specific structure. While not
    adding allot of extra meaning having the nested structure means the
    programmer must open two header files to read the description of the
    device private data, the code would be easier to read if the device
    private data struct description was not spread over two files.
    
    Move tasklet_struct out of sdio header file and into the device
    private data structure description.
    Signed-off-by: default avatarTobin C. Harding <me@tobin.cc>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    321dabdc
ks7010_sdio.h 3.92 KB