]> git.baikalelectronics.ru Git - kernel.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)
commit8a26cfb64be84270ad5726b062ff93988b313e95
tree0c5f1d463247053f2b5baa409c65809133209a7c
parente90472e5123d06e1a2705a503df233cc142251bf
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