can: kvaser_usb: use KBUILD_MODNAME instead of hard coded names
authorVincent Mailhol <mailhol.vincent@wanadoo.fr>
Tue, 26 Jul 2022 08:27:04 +0000 (17:27 +0900)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 26 Jul 2022 08:47:00 +0000 (10:47 +0200)
commit63c286e60892b5ea4b6b9005dae4a9a8b5bc1379
treec7d4b4d032f26a5bf258507389293ce8052cc44f
parentc250d5eb22253f8743b67d8eb581a9fdfbd8b895
can: kvaser_usb: use KBUILD_MODNAME instead of hard coded names

The driver uses the string "kvaser_usb" to populate
usb_driver::name. KBUILD_MODNAME also evaluates to "kvaser_ubs". Use
KBUILD_MODNAME and get rid on the hardcoded string names.

Signed-off-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Link: https://lore.kernel.org/all/20220726082707.58758-8-mailhol.vincent@wanadoo.fr
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c