staging: ks7010: replace IS_11B_RATE macro with inline function
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Thu, 29 Mar 2018 18:07:51 +0000 (20:07 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Apr 2018 12:07:57 +0000 (14:07 +0200)
commitb67cd79f38c6afe2f355c01c569a5c7c58cc1c06
tree7b81667f16dca1ca85e7ae6a368414007e379ac5
parent593c9c7c90c9a8298ab09053f1598b1b1211e8e5
staging: ks7010: replace IS_11B_RATE macro with inline function

This commit replaces IS_11B_RATE macro with is_11b_rate inline
function to improve readability.

It also fix a checkpatch script warning because a line with more
than 80 spaces.

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