summaryrefslogtreecommitdiff
path: root/drivers/media/rc/redrat3.c
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2016-10-31 15:52:20 -0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-11-21 12:20:03 -0200
commitda500033df2b7b532aa04c462ffdc203b9eabde4 (patch)
treed0ee844099fc1bb15eb829b0d67f1e653b95f635 /drivers/media/rc/redrat3.c
parent6932234fbe746223abf730cc89508492244fa64c (diff)
downloadlwn-da500033df2b7b532aa04c462ffdc203b9eabde4.tar.gz
lwn-da500033df2b7b532aa04c462ffdc203b9eabde4.zip
[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>
Diffstat (limited to 'drivers/media/rc/redrat3.c')
-rw-r--r--drivers/media/rc/redrat3.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/rc/redrat3.c b/drivers/media/rc/redrat3.c
index d3c81619cd87..236b686bffd6 100644
--- a/drivers/media/rc/redrat3.c
+++ b/drivers/media/rc/redrat3.c
@@ -904,9 +904,9 @@ static struct rc_dev *redrat3_init_rc_dev(struct redrat3_dev *rr3)
if (!rc)
return NULL;
- snprintf(rr3->name, sizeof(rr3->name), "RedRat3%s Infrared Remote Transceiver (%04x:%04x)",
- prod == USB_RR3IIUSB_PRODUCT_ID ? "-II" : "",
- le16_to_cpu(rr3->udev->descriptor.idVendor), prod);
+ snprintf(rr3->name, sizeof(rr3->name),
+ "RedRat3%s Infrared Remote Transceiver",
+ prod == USB_RR3IIUSB_PRODUCT_ID ? "-II" : "");
usb_make_path(rr3->udev, rr3->phys, sizeof(rr3->phys));