Commit 5b082c2e authored by Christian Gromm's avatar Christian Gromm Committed by Greg Kroah-Hartman

staging: most: usb: remove prefix from description tag

This patch cuts off the usb_device prefix of the description string.
It is not needed, as the interface type is already available with the
interface attribute of a channel.
Signed-off-by: default avatarChristian Gromm <christian.gromm@microchip.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 787105b3
...@@ -1072,7 +1072,7 @@ hdm_probe(struct usb_interface *interface, const struct usb_device_id *id) ...@@ -1072,7 +1072,7 @@ hdm_probe(struct usb_interface *interface, const struct usb_device_id *id)
mdev->iface.num_channels = num_endpoints; mdev->iface.num_channels = num_endpoints;
snprintf(mdev->description, sizeof(mdev->description), snprintf(mdev->description, sizeof(mdev->description),
"usb_device %d-%s:%d.%d", "%d-%s:%d.%d",
usb_dev->bus->busnum, usb_dev->bus->busnum,
usb_dev->devpath, usb_dev->devpath,
usb_dev->config->desc.bConfigurationValue, usb_dev->config->desc.bConfigurationValue,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment