mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 01:10:04 +00:00
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: Christian Gromm <christian.gromm@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
787105b30f
commit
5b082c2e07
1 changed files with 1 additions and 1 deletions
|
@ -1072,7 +1072,7 @@ hdm_probe(struct usb_interface *interface, const struct usb_device_id *id)
|
|||
mdev->iface.num_channels = num_endpoints;
|
||||
|
||||
snprintf(mdev->description, sizeof(mdev->description),
|
||||
"usb_device %d-%s:%d.%d",
|
||||
"%d-%s:%d.%d",
|
||||
usb_dev->bus->busnum,
|
||||
usb_dev->devpath,
|
||||
usb_dev->config->desc.bConfigurationValue,
|
||||
|
|
Loading…
Reference in a new issue