can: kvaser_usb: Assign netdev.dev_port based on device channel index
Assign netdev.dev_port based on the device channel index, to indicate the port number of the network device. While this driver already uses netdev.dev_id for that purpose, dev_port is more appropriate. However, retain dev_id to avoid potential regressions. Fixes: 3e66d013 ("can: populate netdev::dev_id for udev discrimination") Reviewed-by:Vincent Mailhol <mailhol.vincent@wanadoo.fr> Signed-off-by:
Jimmy Assarsson <extja@kvaser.com> Link: https://patch.msgid.link/20250725123452.41-4-extja@kvaser.com Signed-off-by:
Marc Kleine-Budde <mkl@pengutronix.de>
Loading
Please sign in to comment