can: peak_usb: pcan_usb_pro_encode_msg(): use macros for flags instead of plain integers
authorStephane Grosjean <s.grosjean@peak-system.com>
Tue, 9 Mar 2021 08:21:28 +0000 (09:21 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 30 Mar 2021 09:14:46 +0000 (11:14 +0200)
commitcfe2a4ca1e0691c3e1f899e04e883c3d584e89fd
tree5bb4e6a61c808ae4d3411644a3b6d62a51713d29
parent27868a8fc1d0ba7abeac3e24b1a723c21c76581b
can: peak_usb: pcan_usb_pro_encode_msg(): use macros for flags instead of plain integers

This patch replaces the plain integers used for flags in
pcan_usb_pro_encode_msg() by macros which are already defined.

Link: https://lore.kernel.org/r/20210309082128.23125-4-s.grosjean@peak-system.com
Signed-off-by: Stephane Grosjean <s.grosjean@peak-system.com>
[mkl: split into two patches]
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/usb/peak_usb/pcan_usb_pro.c