staging: wlan-ng: use GENMASK macro in different defines of hfa384x.h
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Thu, 10 Nov 2016 18:16:39 +0000 (19:16 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Nov 2016 14:43:20 +0000 (15:43 +0100)
commitd349883fb7c99db377bf33251d09c61dd862b30b
treed78d011a6a57f43e6f92d80a1c9ec864c9d2772a
parent408fec3ff8e1f9fa2d11e199d7a51f02c0dd788f
staging: wlan-ng: use GENMASK macro in different defines of hfa384x.h

This patch replace actual mask stuff using BIT macros with
or operators to make use of GENMASK macro which simplifies
code clearity and readibility.

It applies for defines included in hfa384x.h header file.

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