Skip to content

Commit

Permalink
can: gs_usb: GS_CAN_FLAG_OVERFLOW: make use of BIT()
Browse files Browse the repository at this point in the history
This patch converts the driver to use BIT() to define flags.

Link: https://lore.kernel.org/all/20220309124132.291861-5-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
  • Loading branch information
Marc Kleine-Budde committed Mar 10, 2022
1 parent f6bb251 commit 4b8f03e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/can/usb/gs_usb.c
Original file line number Diff line number Diff line change
@@ -136,7 +136,7 @@ struct gs_device_bt_const {
__le32 brp_inc;
} __packed;

#define GS_CAN_FLAG_OVERFLOW 1
#define GS_CAN_FLAG_OVERFLOW BIT(0)

struct gs_host_frame {
u32 echo_id;

0 comments on commit 4b8f03e

Please sign in to comment.