]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: ks7010: use GENMASK instead of custom defines in SME_WEP_VAL_MASK
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Mon, 26 Mar 2018 16:52:47 +0000 (18:52 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Mar 2018 11:53:09 +0000 (13:53 +0200)
commitd1c4520dafba7d1a424940f50d2805f1fb9e5cac
tree0c5f1d463247053f2b5baa409c65809133209a7c
parent55189ccbaec04d79226f250a31ce5b96f47116b0
staging: ks7010: use GENMASK instead of custom defines in SME_WEP_VAL_MASK

This commits replaces custom defines that were been used
to define a mask using GENMASK macro from linux bitops
header file.

With this change the "WARNING: line over 80 characters"
warning message reported by checkpatch script is also
removed.

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