Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Sean Young and committed by
Mauro Carvalho Chehab
da500033 6932234f

+3 -3
+3 -3
drivers/media/rc/redrat3.c
··· 904 904 if (!rc) 905 905 return NULL; 906 906 907 - snprintf(rr3->name, sizeof(rr3->name), "RedRat3%s Infrared Remote Transceiver (%04x:%04x)", 908 - prod == USB_RR3IIUSB_PRODUCT_ID ? "-II" : "", 909 - le16_to_cpu(rr3->udev->descriptor.idVendor), prod); 907 + snprintf(rr3->name, sizeof(rr3->name), 908 + "RedRat3%s Infrared Remote Transceiver", 909 + prod == USB_RR3IIUSB_PRODUCT_ID ? "-II" : ""); 910 910 911 911 usb_make_path(rr3->udev, rr3->phys, sizeof(rr3->phys)); 912 912