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

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