staging: ks7010: factor out some functions from hostif_init
commit527947677bbd96ebb6190ea92d5a2f0529599a3a
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Mon, 26 Mar 2018 16:52:52 +0000 (26 18:52 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Mar 2018 11:53:09 +0000 (28 13:53 +0200)
tree3ebbce73f4d26fec332e6184974f517eda9eaa9b
parent07934dc8a2786b574c60724ae06699430f2ae7c9
staging: ks7010: factor out some functions from hostif_init

This commit factors out some init functions from hostif_init
to improve readability.

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