]> git.baikalelectronics.ru Git - kernel.git/commit
can: gs_usb: gs_cmd_reset(): rename variable holding struct gs_can pointer to dev
authorMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 20 Sep 2022 21:21:42 +0000 (23:21 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 23 Sep 2022 11:55:00 +0000 (13:55 +0200)
commitedb0f596ddbe809b4d5b24cd2a7dd2cd6673960b
tree7b0db9f13aca556e1a7b4fe6410771ebc709babc
parent3891dafd292ae15136b8a40c35f9dee6da9ff949
can: gs_usb: gs_cmd_reset(): rename variable holding struct gs_can pointer to dev

Most of the driver uses the variable "dev" to point to the struct
gs_can. Use the same name in gs_cmd_reset(), too. Rename gsdev to dev.

Fixes: ff8e02f02963 ("can: gs_usb: Added support for the GS_USB CAN devices")
Link: https://lore.kernel.org/all/20220921193902.575416-2-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/usb/gs_usb.c