]> git.baikalelectronics.ru Git - kernel.git/commit
can: slcan: use the BIT() helper
authorDario Binacchi <dario.binacchi@amarulasolutions.com>
Tue, 28 Jun 2022 16:31:25 +0000 (18:31 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Sun, 3 Jul 2022 09:34:13 +0000 (11:34 +0200)
commit070839be1582a5cfab4cc8911b9abf4c4094112f
tree0136f03c3a28bcf7ab89ac86a0a26c273bbf2484
parent496f46655826de1dad02b371a8ed766c809d4727
can: slcan: use the BIT() helper

Use the BIT() helper instead of an explicit shift.

Link: https://lore.kernel.org/all/20220628163137.413025-2-dario.binacchi@amarulasolutions.com
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Tested-by: Jeroen Hofstee <jhofstee@victronenergy.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/slcan.c