staging: most: usb: remove prefix from description tag
authorChristian Gromm <christian.gromm@microchip.com>
Wed, 3 Apr 2019 13:19:50 +0000 (15:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Apr 2019 11:25:17 +0000 (13:25 +0200)
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>
drivers/staging/most/usb/usb.c

index c0293d8d59348b25295e7ce2807361602b919a21..360cb5b7a10b1343ca99f254f88076d55e6e8918 100644 (file)
@@ -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,