staging: ks7010: refactor ks7010_sme_enqueue_events function
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Fri, 4 May 2018 04:16:16 +0000 (06:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 May 2018 01:58:37 +0000 (18:58 -0700)
commitf0d5a975e2acf4ac310ba13bc3b4df6a5fb8398d
treeb1f48ab056f773cd47c6731a5a3b841668f67a26
parent2059ebe9bfac9ed6575ffe643ab0eebe666d1701
staging: ks7010: refactor ks7010_sme_enqueue_events function

Event to send to init the card are always the same so change
code to be more readable putting them into an array and
enqueuing also using a for loop.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks7010_sdio.c