]> git.baikalelectronics.ru Git - kernel.git/commit
can: kvaser_usb: make use of units.h in assignment of frequency
authorJimmy Assarsson <extja@kvaser.com>
Wed, 8 Dec 2021 11:56:05 +0000 (12:56 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 5 Jan 2022 09:13:50 +0000 (10:13 +0100)
commitc95fabf85c7911c96e3ee457a484e0809ecd146f
treee5fa922e3e39a0fe4608e83cfa0b557a3cdcf0c5
parenta997b3f5bdb493101b9125b5f88ba83eddf1e0d8
can: kvaser_usb: make use of units.h in assignment of frequency

Use the MEGA define plus the comment /* Hz */ when assigning
frequencies.

Link: https://lore.kernel.org/all/20211210075803.343841-1-mkl@pengutronix.de
Signed-off-by: Jimmy Assarsson <extja@kvaser.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c
drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c