can: ems_usb: use KBUILD_MODNAME instead of hard coded names
authorVincent Mailhol <mailhol.vincent@wanadoo.fr>
Tue, 26 Jul 2022 08:26:59 +0000 (17:26 +0900)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 26 Jul 2022 08:46:29 +0000 (10:46 +0200)
commitf60df831d4c40daff510e02ea169771703aa94f1
tree5a5f29968bb5a828d268f7062dd60fab9ab4e213
parent63fe85678933ab8431cfc9b882a6d3d604fcc6db
can: ems_usb: use KBUILD_MODNAME instead of hard coded names

The driver uses the string "ems_usb" to populate usb_driver::name and
can_bittiming_const::name. KBUILD_MODNAME also evaluates to
"ems_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-3-mailhol.vincent@wanadoo.fr
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/usb/ems_usb.c