Commit c5af6be3 authored by Shraddha Barke's avatar Shraddha Barke Committed by Greg Kroah-Hartman

Staging: gdm72xx: Prefer using the BIT macro

Replace bit shifting on 1 with the BIT(x) macro
Signed-off-by: default avatarShraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3184f989
......@@ -18,8 +18,8 @@
#include <linux/usb.h>
#include <linux/list.h>
#define B_DIFF_DL_DRV (1 << 4)
#define B_DOWNLOAD (1 << 5)
#define B_DIFF_DL_DRV BIT(4)
#define B_DOWNLOAD BIT(5)
#define MAX_NR_SDU_BUF 64
struct usb_tx {
......
......@@ -198,10 +198,10 @@
#define T_DUPLEX_MODE (0xdb | (4 << 16))
/* T_CAPABILITY */
#define T_CAPABILITY_MULTI_CS (1 << 0)
#define T_CAPABILITY_WIMAX (1 << 1)
#define T_CAPABILITY_QOS (1 << 2)
#define T_CAPABILITY_AGGREGATION (1 << 3)
#define T_CAPABILITY_MULTI_CS BIT(0)
#define T_CAPABILITY_WIMAX BIT(1)
#define T_CAPABILITY_QOS BIT(2)
#define T_CAPABILITY_AGGREGATION BIT(3)
struct hci_s {
__be16 cmd_evt;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment