can: gs_usb: gs_make_candev(): set netdev->dev_id
authorMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 30 Sep 2022 13:59:41 +0000 (15:59 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 20 Oct 2022 09:56:57 +0000 (11:56 +0200)
commitacff76fa45b487a9dd7573a6f4d34daca6f0c045
tree812ecf7e69f580297539c01e5b703e8cc2816478
parentb1419cbebf5d7a1e236b6886750697eadefcb1d7
can: gs_usb: gs_make_candev(): set netdev->dev_id

The gs_usb driver supports USB devices with more than 1 CAN channel.
Set the "netdev->dev_id" to distinguish between channels in user
space.

Link: https://lore.kernel.org/all/20221007075418.213403-1-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/usb/gs_usb.c