[media] redrat3: don't include vendor/product id in name
No need to duplicate these in the rc name. Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>hifive-unleashed-5.1
parent
6932234fbe
commit
da500033df
|
@ -904,9 +904,9 @@ static struct rc_dev *redrat3_init_rc_dev(struct redrat3_dev *rr3)
|
||||||
if (!rc)
|
if (!rc)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
snprintf(rr3->name, sizeof(rr3->name), "RedRat3%s Infrared Remote Transceiver (%04x:%04x)",
|
snprintf(rr3->name, sizeof(rr3->name),
|
||||||
prod == USB_RR3IIUSB_PRODUCT_ID ? "-II" : "",
|
"RedRat3%s Infrared Remote Transceiver",
|
||||||
le16_to_cpu(rr3->udev->descriptor.idVendor), prod);
|
prod == USB_RR3IIUSB_PRODUCT_ID ? "-II" : "");
|
||||||
|
|
||||||
usb_make_path(rr3->udev, rr3->phys, sizeof(rr3->phys));
|
usb_make_path(rr3->udev, rr3->phys, sizeof(rr3->phys));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue