commit | d87e9626c000b95c80bda3afe705303f17bbec84 | [log] [tgz] |
---|---|---|
author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | Fri May 04 06:16:38 2018 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun May 06 18:58:40 2018 -0700 |
tree | aaf166bd5ba7770463d2f15b66b1f30f505d9fc2 | |
parent | 0d8be3067f7f43de2eb5efb6edea467640226022 [diff] |
staging: ks7010: refactor hostif_sme_power_mgmt_set function This commit refactor hostif_sme_power_mgmt_set avoiding to use switch-case statement and simplifying data paths. This improves readability. Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>